Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / system / Wanderer / wandererprefs.h
blob7cd68461370a8ece1d18fe13d1e7dc8da99a575e
1 #ifndef _WANDERERPREFS_H_
2 #define _WANDERERPREFS_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_WandererPrefs (TAG_USER | 0x12000000)
15 /*** Public Attributes ******************************************************/
16 #define MUIA_WandererPrefs_Processing (MUIB_WandererPrefs | 0x00000001) /* --G Set (TRUE) while processing/ cleared (FALSE) when complete*/
17 #define MUIA_WandererPrefs_DefaultStack (MUIB_WandererPrefs | 0x00000002) /* --- Only used in the global prefs - may be moved! */
19 #define Wanderer_Viewsetting_Workbench 0
20 #define Wanderer_Viewsetting_Drawer 1
22 #define Wanderer_VSF_SupportsBackfills (1<<0)
23 #define Wanderer_VSF_SupportsIcons (1<<1)
25 /*** Public Methods *********************************************************/
26 #define MUIM_WandererPrefs_Reload (MUIB_WandererPrefs | 0x00000000)
27 #define MUIM_WandererPrefs_ReloadFontPrefs (MUIB_WandererPrefs | 0x00000001)
29 #define MUIM_WandererPrefs_ViewSettings_GetNotifyObject (MUIB_WandererPrefs | 0x000000E0) /* --G */
30 #define MUIM_WandererPrefs_ViewSettings_GetAttribute (MUIB_WandererPrefs | 0x000000E1) /* --G */
31 struct MUIP_WandererPrefs_ViewSettings_GetNotifyObject {STACKED ULONG MethodID; STACKED char *Background_Name;};
32 struct MUIP_WandererPrefs_ViewSettings_GetAttribute {STACKED ULONG MethodID; STACKED char *Background_Name; STACKED ULONG AttributeID;};
34 /*** Variables **************************************************************/
35 extern struct MUI_CustomClass *WandererPrefs_CLASS;
37 /*** Macros *****************************************************************/
38 #ifdef __AROS__
39 #define WandererPrefsObject BOOPSIOBJMACRO_START(WandererPrefs_CLASS->mcc_Class)
40 #else
41 #define WandererPrefsObject NewObject(WandererPrefs_CLASS->mcc_Class, NULL
42 #endif
44 #endif /* _WANDERERPREFS_H_ */