revert between 56095 -> 55830 in arch
[AROS.git] / rom / hidds / hidd / hiddclass.conf
blob2fa762da8dc61ca8b006d7611b09a8496c4de30e
1 ##begin config
2 basename HIDDCl
3 libbasetype struct IntHIDDClassBase
4 version 1.1
5 residentpri 92
6 classid CLID_Hidd
7 superclass CLID_Root
8 classptr_field hd_csd.hiddclass
9 classdatatype struct HIDDData
10 oopbase_field  hd_csd.cs_OOPBase
11 options noexpunge
12 ##end config
14 ##begin cdefprivate
15 #include "hiddclass_intern.h"
16 ##end cdefprivate
18 ##begin interface
19 ##begin config
20 interfaceid I_Hidd
21 interfacename Hidd
22 methodstub    HIDD
23 methodbase    HiddBase
24 attributebase HiddAttrBase
25 ##end config
27 ##begin attributelist
28 UWORD  Type         # [..G] Major type of HIDD
29 UWORD  SubType      # [..G] Sub-type of HIDD
30 ULONG  Producer     # [I.G] Hardware manufacturer ID
31 STRPTR Name         # [I.G] Name of HIDD
32 STRPTR HardwareName # [I.G] Hardware description
33 STRPTR Active       # [ISG] Current active status
34 ULONG  Status       # [..G] Status change
35 ULOMG  ErrorCode    # [..G] Error code
36 UBYTE  Locking      # [..G] Type of locking supported
37 ULONG  Product      # [I.G] Hardware product ID
38 STRPTR ProducerName # [I.G] Hardware manufacturer name
39 APTR   DriverData   # [I..] Driver-specific data
40 ##end attributelist
42 ##begin methodlist
43 ##end   methodlist
44 ##end interface
46 ##begin methodlist
47 .interface Root
48 New
49 Dispose
50 Set
51 Get
52 #.interface Hidd  Is empty interface needed ?
53 ##end methodlist
55 ##begin interface
56 ##begin config
57 interfaceid I_Hw
58 interfacename HW
59 methodstub    HW
60 methodbase    HWBase
61 attributebase HWAttrBase
62 ##end config
64 ##begin attributelist
65 CONST_STRPTR ClassName # [I.G] Human-readable description of hardware type
66 BOOL         InUse     # [..G] Subsystem in use or not
67 ##end attributelist
69 ##begin methodlist
70 OOP_Object *AddDriver(OOP_Class *driverClass, struct TagItem *tags)
71 BOOL RemoveDriver(OOP_Object *driverObject)
72 VOID EnumDrivers(struct Hook *callback, APTR hookMsg)
73 BOOL SetUpDriver(OOP_Object *driverObject)
74 void CleanUpDriver(OOP_Object *driverObject)
75 ##end methodlist
76 ##end interface
78 ##begin class
79 ##begin config
80 basename HW
81 type hidd
82 classid CLID_HW
83 superclass CLID_Root
84 classptr_field hd_csd.hwclass
85 classdatatype struct HWData
86 ##end config
88 ##begin methodlist
89 .interface Root
90 New
91 Get
92 .interface HW
93 AddDriver
94 RemoveDriver
95 EnumDrivers
96 SetUpDriver
97 CleanUpDriver
98 ##end methodlist
99 ##end class
101 ##begin class
102 ##begin config
103 basename HWRoot
104 type hidd
105 initpri -2
106 classid CLID_HW_Root
107 superclass CLID_HW
108 classptr_field hd_csd.rootclass
109 ##end config
111 ##begin methodlist
112 .interface Root
114 Dispose
115 .interface HW
116 RemoveDriver
117 ##end methodlist
118 ##end class