2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
12 /*********************************************************************************************/
19 #include <dos/notify.h>
23 #include <exec/memory.h>
26 #ifndef INTUITION_INTUITION_H
27 #include <intuition/intuition.h>
30 #ifndef INTUITION_SCREENS_H
31 #include <intuition/screens.h>
34 #ifndef INTUITION_IMAGECLASS_H
35 #include <intuition/imageclass.h>
38 #ifndef INTUITION_GADGETCLASS_H
39 #include <intuition/gadgetclass.h>
42 #ifndef INTUITION_CLASSUSR_H
43 #include <intuition/classusr.h>
46 #ifndef INTUITION_CLASSES_H
47 #include <intuition/classes.h>
50 #ifndef INTUITION_ICCLASS_H
51 #include <intuition/icclass.h>
54 #ifndef GRAPHICS_GFX_H
55 #include <graphics/gfx.h>
58 #ifndef GRAPHICS_GFXBASE_H
59 #include <graphics/gfxbase.h>
62 #ifndef GRAPHICS_CLIP_H
63 #include <graphics/clip.h>
66 #ifndef GRAPHICS_LAYERS_H
67 #include <graphics/layers.h>
70 #ifndef DEVICES_KEYMAP_H
71 #include <devices/keymap.h>
74 #ifndef DEVICES_INPUTEVENT_H
75 #include <devices/inputevent.h>
78 #ifndef LIBRARIES_GADTOOLS_H
79 #include <libraries/gadtools.h>
82 #ifndef LIBRARIES_ASL_H
83 #include <libraries/asl.h>
86 #ifndef UTILITY_UTILITY_H
87 #include <utility/utility.h>
90 #ifndef UTILITY_TAGITEM_H
91 #include <utility/tagitem.h>
94 #ifndef LIBRARIES_LOCALE_H
95 #include <libraries/locale.h>
98 #ifndef LIBRARIES_IFFPARSE_H
99 #include <libraries/iffparse.h>
102 #ifndef DATATYPES_DATATYPES_H
103 #include <datatypes/datatypes.h>
106 #ifndef DATATYPES_DATATYPESCLASS_H
107 #include <datatypes/datatypesclass.h>
110 /*********************************************************************************************/
113 #include <proto/exec.h>
117 #include <proto/dos.h>
120 #ifndef PROTO_INTUITION_H
121 #include <proto/intuition.h>
124 #ifndef PROTO_GRAPHICS_H
125 #include <proto/graphics.h>
128 #ifndef PROTO_UTILITY_H
129 #include <proto/utility.h>
132 #ifndef PROTO_KEYMAP_H
133 #include <proto/keymap.h>
136 #ifndef PROTO_LOCALE_H
137 #include <proto/locale.h>
140 #ifndef PROTO_LAYERS_H
141 #include <proto/layers.h>
144 #ifndef PROTO_DATATYPES_H
145 #include <proto/datatypes.h>
149 #include <proto/alib.h>
153 #include <proto/asl.h>
156 #ifndef PROTO_DISKFONT_H
157 #include <proto/diskfont.h>
160 #ifndef PROTO_IFFPARSE_H
161 #include <proto/iffparse.h>
164 #include <proto/kms.h>
166 /*********************************************************************************************/
168 #ifdef BIGENDIAN_PREFS
169 #define GET_LONG AROS_BE2LONG
170 #define GET_WORD AROS_BE2WORD
172 #define GET_LONG(x) x
173 #define GET_WORD(x) x
176 #define IPREFS_SEM_NAME "IPrefs >>"
177 #define DO_LOCALE_PATCHES 0
181 struct SignalSemaphore sem
;
185 /*********************************************************************************************/
189 /*********************************************************************************************/
193 void Cleanup(STRPTR msg
);
194 WORD
ShowMessage(STRPTR title
, STRPTR text
, STRPTR gadtext
);
198 void InstallPatches(void);
202 struct IFFHandle
*CreateIFF(STRPTR filename
, LONG
*stopchunks
, LONG numstopchunks
);
203 void KillIFF(struct IFFHandle
*iff
);
204 APTR
LoadChunk(struct IFFHandle
*iff
, LONG size
, ULONG memtype
);
208 void LocalePrefs_Handler(STRPTR filename
);
210 /* screenmodeprefs.c */
212 void ScreenModePrefs_Handler(STRPTR filename
);
216 void SerialPrefs_Handler(STRPTR filename
);
220 void FontPrefs_Handler(STRPTR filename
);
224 void InputPrefs_Handler(STRPTR filename
);
226 /* icontrolprefs.c */
228 void IControlPrefs_Handler(STRPTR filename
);
230 /* wbpatternprefs.c */
232 void WBPatternPrefs_Handler(STRPTR filename
);
233 void RootPatternCleanup (void);
237 void PointerPrefs_Handler(STRPTR filename
);
241 void PrinterPrefs_Handler(STRPTR filename
);
243 /*********************************************************************************************/
245 #endif /* GLOBAL_H */