1 #ifndef HIDD_CLASS_INTERN_H
2 #define HIDD_CLASS_INTERN_H
6 #ifndef EXEC_LIBRARIES_H
7 # include <exec/libraries.h>
9 #ifndef EXEC_SEMAPHORES_H
10 # include <exec/semaphores.h>
16 # include <hidd/hidd.h>
31 STRPTR hd_ProducerName
;
41 OOP_Object
*driverObject
; /* Driver object */
47 struct MinList drivers
;
48 struct SignalSemaphore driver_lock
;
51 /* Static Data for the hiddclass. */
52 struct class_static_data
54 OOP_AttrBase hiddAttrBase
; // keep lower case so it does not clash with define.
55 OOP_AttrBase hwAttrBase
;
56 OOP_MethodID hwMethodBase
;
65 struct Library
*cs_OOPBase
;
66 struct Library
*cs_UtilityBase
;
72 struct IntHIDDClassBase
74 struct Library hd_LibNode
;
76 struct class_static_data hd_csd
;
80 #define CSD(cl) (&((struct IntHIDDClassBase *)cl->UserData)->hd_csd)
85 #define HiddAttrBase (CSD(cl)->hiddAttrBase)
86 #define HWAttrBase (CSD(cl)->hwAttrBase)
87 #define HWBase (CSD(cl)->hwMethodBase)
89 #endif /* HIDD_CLASS_INTERN_H */