prism2.device: Compiler delint
[AROS.git] / workbench / utilities / MultiView / global.h
blob9e39720be3d32fccfaa0102abe22d8804ab67d1b
1 /*
2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GLOBAL_H
7 #define GLOBAL_H
9 /*********************************************************************************************/
11 #ifndef DOS_DOS_H
12 #include <dos/dos.h>
13 #endif
15 #ifndef EXEC_MEMORY_H
16 #include <exec/memory.h>
17 #endif
19 #ifndef INTUITION_INTUITION_H
20 #include <intuition/intuition.h>
21 #endif
23 #ifndef INTUITION_SCREENS_H
24 #include <intuition/screens.h>
25 #endif
27 #ifndef INTUITION_IMAGECLASS_H
28 #include <intuition/imageclass.h>
29 #endif
31 #ifndef INTUITION_GADGETCLASS_H
32 #include <intuition/gadgetclass.h>
33 #endif
35 #ifndef INTUITION_CLASSUSR_H
36 #include <intuition/classusr.h>
37 #endif
39 #ifndef INTUITION_CLASSES_H
40 #include <intuition/classes.h>
41 #endif
43 #ifndef INTUITION_ICCLASS_H
44 #include <intuition/icclass.h>
45 #endif
47 #ifndef GRAPHICS_GFX_H
48 #include <graphics/gfx.h>
49 #endif
51 #ifndef GRAPHICS_GFXBASE_H
52 #include <graphics/gfxbase.h>
53 #endif
55 #ifndef GRAPHICS_CLIP_H
56 #include <graphics/clip.h>
57 #endif
59 #ifndef GRAPHICS_LAYERS_H
60 #include <graphics/layers.h>
61 #endif
63 #ifndef DEVICES_KEYMAP_H
64 #include <devices/keymap.h>
65 #endif
67 #ifndef DEVICES_INPUTEVENT_H
68 #include <devices/inputevent.h>
69 #endif
71 #ifdef __AROS__
72 #ifndef DEVICES_RAWKEYCODES_H
73 #include <devices/rawkeycodes.h>
74 #endif
75 #endif
77 #ifndef LIBRARIES_GADTOOLS_H
78 #include <libraries/gadtools.h>
79 #endif
81 #ifndef LIBRARIES_ASL_H
82 #include <libraries/asl.h>
83 #endif
85 #ifndef UTILITY_UTILITY_H
86 #include <utility/utility.h>
87 #endif
89 #ifndef UTILITY_TAGITEM_H
90 #include <utility/tagitem.h>
91 #endif
93 #ifndef LIBRARIES_LOCALE_H
94 #include <libraries/locale.h>
95 #endif
97 #ifndef DATATYPES_DATATYPES_H
98 #include <datatypes/datatypes.h>
99 #endif
101 #ifndef DATATYPES_DATATYPESCLASS_H
102 #include <datatypes/datatypesclass.h>
103 #endif
105 #ifndef DATATYPES_PICTURECLASS_H
106 #include <datatypes/pictureclass.h>
107 #endif
109 #ifndef DATATYPES_TEXTCLASS_H
110 #include <datatypes/textclass.h>
111 #endif
113 #ifndef WORKBENCH_STARTUP_H
114 #include <workbench/startup.h>
115 #endif
117 #ifndef WORKBENCH_WORKBENCH_H
118 #include <workbench/workbench.h>
119 #endif
121 /*********************************************************************************************/
123 #ifndef PROTO_EXEC_H
124 #include <proto/exec.h>
125 #endif
127 #ifndef PROTO_DOS_H
128 #include <proto/dos.h>
129 #endif
131 #ifndef PROTO_INTUITION_H
132 #include <proto/intuition.h>
133 #endif
135 #ifndef PROTO_GRAPHICS_H
136 #include <proto/graphics.h>
137 #endif
139 #ifndef PROTO_UTILITY_H
140 #include <proto/utility.h>
141 #endif
143 #ifndef PROTO_KEYMAP_H
144 #include <proto/keymap.h>
145 #endif
147 #ifndef PROTO_LOCALE_H
148 #include <proto/locale.h>
149 #endif
151 #ifndef PROTO_LAYERS_H
152 #include <proto/layers.h>
153 #endif
155 #ifndef PROTO_DATATYPES_H
156 #include <proto/datatypes.h>
157 #endif
159 #ifdef __SASC
160 typedef const unsigned char *CONST_STRPTR;
161 #else
162 #ifndef PROTO_ALIB_H
163 #include <proto/alib.h>
164 #endif
165 #endif
167 #ifndef PROTO_GADTOOLS_H
168 #include <proto/gadtools.h>
169 #endif
171 #ifndef PROTO_ASL_H
172 #include <proto/asl.h>
173 #endif
175 #ifndef PROTO_DISKFONT_H
176 #include <proto/diskfont.h>
177 #endif
179 #ifndef PROTO_WB_H
180 #include <proto/wb.h>
181 #endif
183 /*********************************************************************************************/
185 enum
187 GAD_UPARROW,
188 GAD_DOWNARROW,
189 GAD_LEFTARROW,
190 GAD_RIGHTARROW,
191 GAD_VERTSCROLL,
192 GAD_HORIZSCROLL,
193 NUM_GADGETS
196 enum
198 IMG_UPARROW,
199 IMG_DOWNARROW,
200 IMG_LEFTARROW,
201 IMG_RIGHTARROW,
202 IMG_SIZE,
203 NUM_IMAGES
206 /*********************************************************************************************/
208 #include "vars.h"
210 #undef CATCOMP_STRINGS
211 #undef CATCOMP_NUMBERS
213 #define CATCOMP_NUMBERS
215 #include "strings.h"
217 /*********************************************************************************************/
219 /* main.c */
221 void OutputMessage(CONST_STRPTR msg);
222 void Cleanup(CONST_STRPTR msg);
223 void AddDTOToWin(void);
224 void WinCleanup(void);
225 void InitWin(void);
227 /* misc.c */
229 void InitMenus(struct NewMenu *newm);
230 struct Menu * MakeMenus(struct NewMenu *newm);
231 void KillMenus(void);
232 void SetMenuFlags(void);
234 STRPTR GetFileName(ULONG msgtextid);
235 void About(void);
237 ULONG DoTrigger(ULONG what);
238 ULONG DoWriteMethod(STRPTR name, ULONG mode);
239 ULONG DoPrintMethod(VOID);
240 ULONG DoLayout(ULONG initial);
241 ULONG DoScaleMethod(ULONG xsize, ULONG ysize, BOOL aspect);
242 void DoZoom(WORD zoomer);
244 /*********************************************************************************************/
246 /* locale.c */
248 void InitLocale(STRPTR catname, ULONG version);
249 void CleanupLocale(void);
250 CONST_STRPTR MSG(ULONG id);
252 /*********************************************************************************************/
253 /*********************************************************************************************/
255 #endif /* GLOBAL_H */