// ---- auto generated by YInG - the YAC interface generator (Fri, 29/Mar/2019 08:55:22)
#ifndef __YAC__midi_h__
#define __YAC__midi_h__

sUI                                          clid_RecordedMIDIEvent;
YAC_Template <RecordedMIDIEvent>               *t_RecordedMIDIEvent;
sUI                                          clid_MIDIIn;
YAC_Template <MIDIIn>                          *t_MIDIIn;
sUI                                          clid_MIDIOut;
YAC_Template <MIDIOut>                         *t_MIDIOut;
sUI                                          clid_MIDITimer;
YAC_Template <MIDITimer>                       *t_MIDITimer;

void YAC_CALL YAC_Init_midi(YAC_Host *_host) {
	// --------------------------------- classes ---------------------------------
	   t_RecordedMIDIEvent        =new YAC_Template <RecordedMIDIEvent>(_host);
	clid_RecordedMIDIEvent        =                t_RecordedMIDIEvent->ctemplate.class_ID;
	   t_MIDIIn                   =new YAC_Template <MIDIIn>(_host);
	clid_MIDIIn                   =                t_MIDIIn->ctemplate.class_ID;
	   t_MIDIOut                  =new YAC_Template <MIDIOut>(_host);
	clid_MIDIOut                  =                t_MIDIOut->ctemplate.class_ID;
	   t_MIDITimer                =new YAC_Template <MIDITimer>(_host);
	clid_MIDITimer                =                t_MIDITimer->ctemplate.class_ID;
	// -------------------------------- functions --------------------------------

}

void YAC_CALL YAC_Exit_midi(YAC_Host *_host) {
	delete t_MIDIIn;
	delete t_RecordedMIDIEvent;
	delete t_MIDIOut;
	delete t_MIDITimer;
}

#endif
