fix some flag usage in mmakefiles. provide suitable names for amiga hardware devices...
[AROS.git] / rom / hidds / base / storage / storage.conf
blob26f1865ba5b9953d37753284d00a0a975ce6ef52
1 ##begin config
2 basename StorageHW
3 libbasetype struct HiddStorageIntBase
4 version 50.1
5 residentpri 90
6 classid CLID_Hidd_Storage
7 superclass CLID_HW
8 classptr_field hsi_csd.storageClass
9 classdatatype struct HIDDStorageData
10 oopbase_field  hsi_csd.cs_OOPBase
11 seglist_field  hsi_csd.cs_SegList
12 ##end config
14 ##begin cdefprivate
15 #include <hidd/bus.h>
16 #include "storage_intern.h"
17 ##end cdefprivate
19 ##begin interface
20 ##begin config
21 interfaceid   hidd.storage
22 interfacename Hidd_Storage
23 methodstub    HIDD_Storage
24 methodbase    HiddStorageBase
25 attributebase HiddStorageAB
26 ##end config
28 ##begin attributelist
29 ##end attributelist
31 ##begin methodlist
32 APTR AllocateID(struct TagItem *IDTags)
33 void ReleaseID(APTR IDHandle)
34 ##end methodlist
35 ##end interface
37 ##begin methodlist
38 .interface Root
39 New
40 Dispose
41 .interface Hidd_Storage
42 AllocateID
43 ReleaseID
44 ##end methodlist
46 ##begin interface
47 ##begin config
48 interfaceid   hidd.storage.controller
49 interfacename Hidd_StorageController
50 methodstub    HIDD_StorageController
51 methodbase    HiddStorageControllerBase
52 attributebase HiddStorageControllerAB
53 ##end config
55 ##begin attributelist
56 ##end attributelist
58 ##begin methodlist
59 OOP_Object *AddBus(OOP_Class *busClass, struct TagItem *tags)
60 BOOL RemoveBus(OOP_Object *busObject)
61 VOID EnumBuses(struct Hook *callback, APTR hookMsg)
62 BOOL SetUpBus(OOP_Object *busObject)
63 void CleanUpBus(OOP_Object *busObject)
64 ##end methodlist
65 ##end interface
67 ##begin class
68 ##begin config
69 basename StorageController
70 type hidd
71 classid CLID_Hidd_StorageController
72 superclass CLID_Hidd
73 classptr_field hsi_csd.controllerClass
74 classdatatype struct HIDDStorageControllerData
75 ##end config
77 ##begin methodlist
78 .interface Root
79 New
80 Dispose
81 .interface Hidd_StorageController
82 AddBus
83 RemoveBus
84 EnumBuses
85 SetUpBus
86 CleanUpBus
87 ##end methodlist
88 ##end class
90 ##begin interface
91 ##begin config
92 interfaceid   hidd.storage.bus
93 interfacename Hidd_StorageBus
94 methodstub    HIDD_StorageBus
95 methodbase    HiddStorageBusBase
96 attributebase HiddStorageBusAB
97 ##end config
99 ##begin attributelist
100 ##end attributelist
102 ##begin methodlist
103 VOID EnumUnits(struct Hook *callback, APTR hookMsg)
104 ##end methodlist
105 ##end interface
107 ##begin class
108 ##begin config
109 basename StorageBus
110 type hidd
111 classid CLID_Hidd_StorageBus
112 superclass CLID_Hidd_Bus
113 classptr_field hsi_csd.busClass
114 ##end config
116 ##begin methodlist
117 .interface Root
119 Dispose
120 .interface Hidd_StorageBus
121 EnumUnits
122 ##end methodlist
123 ##end class
125 ##begin interface
126 ##begin config
127 interfaceid   hidd.storage.unit
128 interfacename Hidd_StorageUnit
129 methodstub    HIDD_StorageUnit
130 methodbase    HiddStorageUnitBase
131 attributebase HiddStorageUnitAB
132 ##end config
134 ##begin attributelist
135 CONST_STRPTR Device #   [..G] Corresponding Exec device string
136 ULONG Number #          [..G] Corresponding Exec device unit number
137 ULONG Type #            [..G] Units Type
138 ULONG Capacity #        [..G] Units Capacity
139 CONST_STRPTR Model #    [..G] Unit model ID string
140 CONST_STRPTR Revision # [..G] Unit revision ID string
141 CONST_STRPTR Serial #   [..G] Unit serial number string
142 BOOL Removable #        [..G] Unit is removable
143 ##end attributelist
145 ##begin methodlist
146 ##end methodlist
147 ##end interface
149 ##begin class
150 ##begin config
151 basename StorageUnit
152 type hidd
153 classid CLID_Hidd_StorageUnit
154 superclass CLID_Hidd
155 classptr_field hsi_csd.unitClass
156 ##end config
158 ##begin methodlist
159 .interface Root
161 Dispose
162 ##end methodlist
163 ##end class