revert between 56095 -> 55830 in arch
[AROS.git] / rom / hidds / base / system / system_intern.h
blobdf4ad3eaed3adba56ff314cee77edf55ee463c2c
1 #ifndef HIDDSYSTEM_INTERN_H
2 #define HIDDSYSTEM_INTERN_H
4 #include <exec/libraries.h>
5 #include <dos/bptr.h>
6 #include <oop/oop.h>
7 #include <hidd/hidd.h>
8 #include <hidd/system.h>
10 struct HIDDSystemData
12 ULONG sd_Private;
15 struct class_static_data
17 struct Library *cs_OOPBase;
18 BPTR cs_SegList;
20 OOP_Class *oopclass;
21 OOP_Object *instance;
23 OOP_AttrBase hwAttrBase;
25 OOP_MethodID hwMethodBase;
28 /* Library base */
30 struct HiddSystemIntBase
32 struct Library hsi_LibNode;
34 struct class_static_data hsi_csd;
37 #define CSD(x) (&((struct HiddSystemIntBase *)x->UserData)->hsi_csd)
39 #undef HWAttrBase
40 #define HWAttrBase (CSD(cl)->hwAttrBase)
42 #undef HWBase
43 #define HWBase (CSD(cl)->hwMethodBase)
45 #endif