1 /*****************************************************************************
2 ** This is the DevWin custom class, a sub class of Window.mui.
3 ******************************************************************************/
7 #include "ActionClass.h"
11 struct Hook InterfaceDisplayHook
;
12 struct DevListEntry
*dlnode
;
13 //struct ActionData *adata;
19 Object
*changenameobj
;
28 Object
*noclassbindobj
;
29 Object
*overridepowerobj
;
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
));