5 Copyright © 2004 - 2010, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <libraries/mui.h>
11 #include <dos/notify.h>
13 /*** Identifier Base ********************************************************/
14 #define MUIB_Wanderer (TAG_USER | 0x11000000)
16 /*** Public Attributes ******************************************************/
17 #define MUIA_Wanderer_Prefs (MUIB_Wanderer | 0x00000000)
18 #define MUIA_Wanderer_FileSysNotifyPort (MUIB_Wanderer | 0x00000001)
19 #define MUIA_Wanderer_FileSysNotifyList (MUIB_Wanderer | 0x00000002)
20 #define MUIA_Wanderer_Screen (MUIB_Wanderer | 0x00000010)
21 #define MUIA_Wanderer_WorkbenchWindow (MUIB_Wanderer | 0x00000020)
22 #define MUIA_Wanderer_ActiveWindow (MUIB_Wanderer | 0x00000021)
24 /*** Private Methods ********************************************************/
25 #define MUIM_Wanderer_HandleTimer (MUIB_Wanderer | 0x00000000)
26 #define MUIM_Wanderer_HandleCommand (MUIB_Wanderer | 0x00000001)
27 #define MUIM_Wanderer_HandleNotify (MUIB_Wanderer | 0x00000002)
28 #define MUIM_Wanderer_CreateDrawerWindow (MUIB_Wanderer | 0x000000010)
29 struct MUIP_Wanderer_CreateDrawerWindow
{STACKED ULONG MethodID
; STACKED CONST_STRPTR drawer
;};
31 /*** Variables **************************************************************/
32 extern struct MUI_CustomClass
*Wanderer_CLASS
;
40 struct Wanderer_FSHandler
42 struct Node fshn_Node
;
43 Object
*target
; /* If not NULL, pass this as first parameter of handler */
45 IPTR (*HandleFSUpdate
)(Object
*, struct NotifyMessage
*);
48 /*** Macros *****************************************************************/
50 #define WandererObject BOOPSIOBJMACRO_START(Wanderer_CLASS->mcc_Class)
52 #define WandererObject NewObject(Wanderer_CLASS->mcc_Class, NULL
55 #endif /* _WANDERER_H_ */