Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / usb / classes / stir4200 / stir4200.class.h
blobfc5ac9e7f071b167ac9200c855fb80b410b4bee1
1 #ifndef STIR4200_CLASS_H
2 #define STIR4200_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for STIr4200 class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <devices/irda.h>
14 #include <irda/irlap.h>
16 #include <libraries/gadtools.h>
18 #include <devices/newstyle.h>
20 #include <string.h>
21 #include <stddef.h>
22 #include <stdio.h>
24 #include "stir4200.h"
26 #include "dev.h"
28 /* Protos */
30 struct NepClassSTIr4200 * usbAttemptDeviceBinding(struct NepSTIr4200Base *nh, struct PsdDevice *pd);
31 struct NepClassSTIr4200 * usbForceDeviceBinding(struct NepSTIr4200Base *nh, struct PsdDevice *pd);
32 void usbReleaseDeviceBinding(struct NepSTIr4200Base *nh, struct NepClassSTIr4200 *ncp);
34 struct NepClassSTIr4200 * nAllocSTIr4200(void);
35 void nFreeSTIr4200(struct NepClassSTIr4200 *ncp);
37 BOOL nSetReg(struct NepClassSTIr4200 *ncp, ULONG reg, ULONG value);
39 BOOL nLoadClassConfig(struct NepSTIr4200Base *nh);
40 BOOL nLoadBindingConfig(struct NepClassSTIr4200 *ncp);
41 LONG nOpenBindingCfgWindow(struct NepSTIr4200Base *nh, struct NepClassSTIr4200 *ncp);
43 void nGUITaskCleanup(struct NepClassSTIr4200 *nh);
45 AROS_UFP0(void, nSTIr4200Task);
46 AROS_UFP0(void, nGUITask);
48 #endif /* STIR4200_CLASS_H */