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_IconWindowIconDrawerList (TAG_USER | 0x10000200)
14 #define MUIB_IconWindowIconVolumeList (TAG_USER | 0x10000300)
15 #define MUIB_IconWindowIconNetworkBrowserList (TAG_USER | 0x10000A00)
17 #define MUIA_IconWindowIconVolumeList_ShowNetwork (TAG_USER | 0x10000310)
18 #define MUIA_IconWindowIconVolumeList_ShowUserFiles (TAG_USER | 0x10000311)
20 /*** Variables **************************************************************/
21 extern struct MUI_CustomClass
*IconWindowIconDrawerList_CLASS
;
22 extern struct MUI_CustomClass
*IconWindowIconVolumeList_CLASS
;
23 extern struct MUI_CustomClass
*IconWindowIconNetworkBrowserList_CLASS
;
25 /*** Macros *****************************************************************/
26 #define IconWindowIconDrawerListObject BOOPSIOBJMACRO_START(IconWindowIconDrawerList_CLASS->mcc_Class)
27 #define IconWindowIconVolumeListObject BOOPSIOBJMACRO_START(IconWindowIconVolumeList_CLASS->mcc_Class)
28 #define IconWindowIconNetworkBrowserListObject BOOPSIOBJMACRO_START(IconWindowIconNetworkBrowserList_CLASS->mcc_Class)
30 /* this macro is based on the ZUNE_CUSTOMCLASS_10 macros from zune/customclasses.h
31 and temporarily placed here */
32 #define ICONWINDOWICONDRAWERLIST_CUSTOMCLASS(name, funcnamebase, base, parent_name, parent_class, \
39 __ZUNE_CUSTOMCLASS_START(name) \
40 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m1, m1, m1_msg_type); \
41 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m2, m2, m2_msg_type); \
42 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m3, m3, m3_msg_type); \
43 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m4, m4, m4_msg_type); \
44 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m5, m5, m5_msg_type); \
45 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m6, m6, m6_msg_type); \
46 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
48 #define ICONWINDOWICONVOLUMELIST_CUSTOMCLASS(name, funcnamebase, base, parent_name, parent_class, \
57 __ZUNE_CUSTOMCLASS_START(name) \
58 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m1, m1, m1_msg_type); \
59 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m2, m2, m2_msg_type); \
60 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m3, m3, m3_msg_type); \
61 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m4, m4, m4_msg_type); \
62 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m5, m5, m5_msg_type); \
63 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m6, m6, m6_msg_type); \
64 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m7, m7, m7_msg_type); \
65 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m8, m8, m8_msg_type); \
66 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
68 #define ICONWINDOWICONNETWORKBROWSERLIST_CUSTOMCLASS(name, funcnamebase, base, parent_name, parent_class, \
77 __ZUNE_CUSTOMCLASS_START(name) \
78 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m1, m1, m1_msg_type); \
79 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m2, m2, m2_msg_type); \
80 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m3, m3, m3_msg_type); \
81 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m4, m4, m4_msg_type); \
82 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m5, m5, m5_msg_type); \
83 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m6, m6, m6_msg_type); \
84 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m7, m7, m7_msg_type); \
85 __ZUNE_CUSTOMCLASS_METHOD(funcnamebase ## __ ## m8, m8, m8_msg_type); \
86 __ZUNE_CUSTOMCLASS_END(name, base, parent_name, parent_class) \
88 #endif /* _ICONWINDOWICONLIST_H_ */