1 #ifndef SIMPLEMIDI_CLASS_H
2 #define SIMPLEMIDI_CLASS_H
5 *----------------------------------------------------------------------------
6 * Includes for simplemidi class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
13 #include <devices/keyboard.h>
14 #include <libraries/gadtools.h>
16 #include <devices/usb_audio.h>
22 #include "simplemidi.h"
26 struct NepClassHid
* usbAttemptInterfaceBinding(struct NepHidBase
*nh
, struct PsdInterface
*pif
);
27 struct NepClassHid
* usbForceInterfaceBinding(struct NepHidBase
*nh
, struct PsdInterface
*pif
);
28 void usbReleaseInterfaceBinding(struct NepHidBase
*nh
, struct NepClassHid
*nch
);
30 void nParseMidi(struct NepClassHid
*nch
, UBYTE
*buf
, ULONG len
);
32 struct NepClassHid
* nAllocHid(void);
33 void nFreeHid(struct NepClassHid
*nch
);
35 BOOL
nLoadClassConfig(struct NepHidBase
*nh
);
36 LONG
nOpenCfgWindow(struct NepHidBase
*nh
);
38 void nGUITaskCleanup(struct NepHidBase
*nh
);
40 AROS_UFP0(void, nHidTask
);
41 AROS_UFP0(void, nGUITask
);
43 #endif /* SIMPLEMIDI_CLASS_H */