1 #ifndef _ICONWINDOWICONLIST_H_
2 #define _ICONWINDOWICONLIST_H_
5 Copyright 2004, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <libraries/mui.h>
12 /*** Identifier Base ********************************************************/
13 #define MUIB_IconWindowDrawerList (TAG_USER | 0x10000200)
14 #define MUIB_IconWindowVolumeList (TAG_USER | 0x10000300)
15 #define MUIB_IconWindowIconNetworkBrowserList (TAG_USER | 0x10000A00)
17 #define MUIA_IconWindowVolumeList_ShowNetwork (TAG_USER | 0x10000310)
18 #define MUIA_IconWindowVolumeList_ShowUserFiles (TAG_USER | 0x10000311)
20 /*** Variables **************************************************************/
21 extern struct MUI_CustomClass
*IconWindowDrawerList_CLASS
;
22 extern struct MUI_CustomClass
*IconWindowVolumeList_CLASS
;
23 extern struct MUI_CustomClass
*IconWindowIconNetworkBrowserList_CLASS
;
25 /*** Macros *****************************************************************/
27 #define IconWindowDrawerListObject BOOPSIOBJMACRO_START(IconWindowDrawerList_CLASS->mcc_Class)
28 #define IconWindowVolumeListObject BOOPSIOBJMACRO_START(IconWindowVolumeList_CLASS->mcc_Class)
29 #define IconWindowIconNetworkBrowserListObject BOOPSIOBJMACRO_START(IconWindowIconNetworkBrowserList_CLASS->mcc_Class)
31 #define IconWindowDrawerListObject NewObject(IconWindowDrawerList_CLASS->mcc_Class, NULL
32 #define IconWindowVolumeListObject NewObject(IconWindowVolumeList_CLASS->mcc_Class, NULL
33 #define IconWindowIconNetworkBrowserListObject NewObject(IconWindowIconNetworkBrowserList_CLASS->mcc_Class, NULL
36 /* this macro is based on the ZUNE_CUSTOMCLASS_10 macros from zune/customclasses.h
37 and temporarily placed here */
38 #define ICONWINDOWICONDRAWERLIST_CUSTOMCLASS(name, base, parent_name, parent_class, \
45 __ZUNE_CUSTOMCLASS_START(name) \
46 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m1, m1, m1_msg_type); \
47 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m2, m2, m2_msg_type); \
48 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m3, m3, m3_msg_type); \
49 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m4, m4, m4_msg_type); \
50 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m5, m5, m5_msg_type); \
51 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m6, m6, m6_msg_type); \
52 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
54 #define ICONWINDOWICONVOLUMELIST_CUSTOMCLASS(name, base, parent_name, parent_class, \
66 __ZUNE_CUSTOMCLASS_START(name) \
67 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m1, m1, m1_msg_type); \
68 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m2, m2, m2_msg_type); \
69 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m3, m3, m3_msg_type); \
70 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m4, m4, m4_msg_type); \
71 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m5, m5, m5_msg_type); \
72 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m6, m6, m6_msg_type); \
73 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m7, m7, m7_msg_type); \
74 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m8, m8, m8_msg_type); \
75 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m9, m9, m9_msg_type); \
76 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m10, m10, m10_msg_type); \
77 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m11, m11, m11_msg_type); \
78 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
80 #define ICONWINDOWICONNETWORKBROWSERLIST_CUSTOMCLASS(name, base, parent_name, parent_class, \
89 __ZUNE_CUSTOMCLASS_START(name) \
90 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m1, m1, m1_msg_type); \
91 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m2, m2, m2_msg_type); \
92 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m3, m3, m3_msg_type); \
93 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m4, m4, m4_msg_type); \
94 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m5, m5, m5_msg_type); \
95 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m6, m6, m6_msg_type); \
96 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m7, m7, m7_msg_type); \
97 __ZUNE_CUSTOMCLASS_METHOD(name ## __ ## m8, m8, m8_msg_type); \
98 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
100 #endif /* _ICONWINDOWICONLIST_H_ */