add casts to zune macros to silence some warnings
[tangerine.git] / workbench / system / Wanderer / iconwindowcontents.h
blob590ce237d3f13b591e6c25098c300c497c3868fb
1 #ifndef _ICONWINDOWICONLIST_H_
2 #define _ICONWINDOWICONLIST_H_
4 /*
5 Copyright 2004, The AROS Development Team. All rights reserved.
6 $Id$
7 */
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, \
33 m1, m1_msg_type, \
34 m2, m2_msg_type, \
35 m3, m3_msg_type, \
36 m4, m4_msg_type, \
37 m5, m5_msg_type, \
38 m6, m6_msg_type) \
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, \
49 m1, m1_msg_type, \
50 m2, m2_msg_type, \
51 m3, m3_msg_type, \
52 m4, m4_msg_type, \
53 m5, m5_msg_type, \
54 m6, m6_msg_type, \
55 m7, m7_msg_type, \
56 m8, m8_msg_type) \
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, \
69 m1, m1_msg_type, \
70 m2, m2_msg_type, \
71 m3, m3_msg_type, \
72 m4, m4_msg_type, \
73 m5, m5_msg_type, \
74 m6, m6_msg_type, \
75 m7, m7_msg_type, \
76 m8, m8_msg_type) \
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_ */