1 #ifndef CAMDUSBMIDI_CLASS_H
2 #define CAMDUSBMIDI_CLASS_H
5 *----------------------------------------------------------------------------
6 * Includes for camdusbmidi class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
13 #include <libraries/gadtools.h>
15 #include <devices/usb_audio.h>
21 #include "camdusbmidi.h"
25 struct NepClassHid
* usbAttemptInterfaceBinding(struct NepHidBase
*nh
, struct PsdInterface
*pif
);
26 struct NepClassHid
* usbForceInterfaceBinding(struct NepHidBase
*nh
, struct PsdInterface
*pif
);
27 void usbReleaseInterfaceBinding(struct NepHidBase
*nh
, struct NepClassHid
*nch
);
29 void nParseMidi(struct NepClassHid
*nch
, UBYTE
*buf
, ULONG len
);
30 void nParseMidiOut(struct NepClassHid
*nch
);
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 /* CAMDUSBMIDI_CLASS_H */