include our private headers
[AROS.git] / rom / usb / trident / DevWinClass.h
blob2b3127c981f8dd3c770f0889096284006da54616
1 /*****************************************************************************
2 ** This is the DevWin custom class, a sub class of Window.mui.
3 ******************************************************************************/
4 #ifndef DEVWINCLASS_H
5 #define DEVWINCLASS_H
7 #include "ActionClass.h"
9 struct DevWinData
11 struct Hook InterfaceDisplayHook;
12 struct DevListEntry *dlnode;
13 //struct ActionData *adata;
14 struct Node *pd;
15 Object *contents;
16 //Object *infowindow;
17 Object *classpopup;
18 Object *cwnameobj;
19 Object *changenameobj;
20 Object *resetnameobj;
21 Object *langlvobj;
22 Object *cfglvobj;
23 Object *iflvobj;
24 Object *clsscanobj;
25 Object *unbindobj;
26 Object *cfgobj;
27 Object *dontpopupobj;
28 Object *noclassbindobj;
29 Object *overridepowerobj;
30 struct List iflist;
33 struct IfListEntry
35 struct Node node;
36 Object *infowindow;
37 Object *classpopup;
38 struct Node *pif;
39 char buf[128];
43 #define TAGBASE_DevWin (TAG_USER | 342<<16)
44 #define MUIA_DevWin_DevEntry (TAGBASE_DevWin | 0x0001)
45 #define MUIM_DevWin_Dev_Bind (TAGBASE_DevWin | 0x0021)
46 #define MUIM_DevWin_If_Activate (TAGBASE_DevWin | 0x0028)
47 #define MUIM_DevWin_If_Unbind (TAGBASE_DevWin | 0x0029)
48 #define MUIM_DevWin_If_Config (TAGBASE_DevWin | 0x002a)
49 #define MUIM_DevWin_If_FBind (TAGBASE_DevWin | 0x002b)
50 #define MUIM_DevWin_SetCustomName (TAGBASE_DevWin | 0x0030)
51 #define MUIM_DevWin_ResetCustomName (TAGBASE_DevWin | 0x0031)
52 #define MUIM_DevWin_PopupInhibitChg (TAGBASE_DevWin | 0x0040)
53 #define MUIM_DevWin_NoClassBindChg (TAGBASE_DevWin | 0x0041)
54 #define MUIM_DevWin_PowerInfoChg (TAGBASE_DevWin | 0x0042)
56 struct IfListEntry * AllocIfEntry(struct DevWinData *data, struct Node *pif, BOOL intend);
57 void FreeIfEntry(struct DevWinData *data, struct IfListEntry *iflnode);
59 AROS_UFP3(LONG, InterfaceListDisplayHook,
60 AROS_UFPA(struct Hook *, hook, A0),
61 AROS_UFPA(char **, strarr, A2),
62 AROS_UFPA(struct IfListEntry *, iflnode, A1));
64 AROS_UFP3(IPTR, DevWinDispatcher,
65 AROS_UFPA(struct IClass *, cl, A0),
66 AROS_UFPA(Object *, obj, A2),
67 AROS_UFPA(Msg, msg, A1));
69 #endif