Fixed compatibility of output.
[AROS.git] / rom / usb / classes / camdmidi / camdusbmidi.class.h
blob0354d62f4d0f5111a56b25875899256e82b3d672
1 #ifndef CAMDUSBMIDI_CLASS_H
2 #define CAMDUSBMIDI_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for camdusbmidi class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <libraries/gadtools.h>
15 #include <devices/usb_audio.h>
17 #include <string.h>
18 #include <stddef.h>
19 #include <stdio.h>
21 #include "camdusbmidi.h"
23 /* Protos */
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 */