2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
9 /*********************************************************************************************/
16 #include <exec/memory.h>
19 #ifndef INTUITION_INTUITION_H
20 #include <intuition/intuition.h>
23 #ifndef INTUITION_SCREENS_H
24 #include <intuition/screens.h>
27 #ifndef INTUITION_IMAGECLASS_H
28 #include <intuition/imageclass.h>
31 #ifndef INTUITION_GADGETCLASS_H
32 #include <intuition/gadgetclass.h>
35 #ifndef INTUITION_CLASSUSR_H
36 #include <intuition/classusr.h>
39 #ifndef INTUITION_CLASSES_H
40 #include <intuition/classes.h>
43 #ifndef INTUITION_ICCLASS_H
44 #include <intuition/icclass.h>
47 #ifndef GRAPHICS_GFX_H
48 #include <graphics/gfx.h>
51 #ifndef GRAPHICS_GFXBASE_H
52 #include <graphics/gfxbase.h>
55 #ifndef GRAPHICS_CLIP_H
56 #include <graphics/clip.h>
59 #ifndef GRAPHICS_LAYERS_H
60 #include <graphics/layers.h>
63 #ifndef DEVICES_KEYMAP_H
64 #include <devices/keymap.h>
67 #ifndef DEVICES_INPUTEVENT_H
68 #include <devices/inputevent.h>
72 #ifndef DEVICES_RAWKEYCODES_H
73 #include <devices/rawkeycodes.h>
77 #ifndef LIBRARIES_GADTOOLS_H
78 #include <libraries/gadtools.h>
81 #ifndef LIBRARIES_ASL_H
82 #include <libraries/asl.h>
85 #ifndef UTILITY_UTILITY_H
86 #include <utility/utility.h>
89 #ifndef UTILITY_TAGITEM_H
90 #include <utility/tagitem.h>
93 #ifndef LIBRARIES_LOCALE_H
94 #include <libraries/locale.h>
97 #ifndef DATATYPES_DATATYPES_H
98 #include <datatypes/datatypes.h>
101 #ifndef DATATYPES_DATATYPESCLASS_H
102 #include <datatypes/datatypesclass.h>
105 #ifndef DATATYPES_PICTURECLASS_H
106 #include <datatypes/pictureclass.h>
109 #ifndef DATATYPES_TEXTCLASS_H
110 #include <datatypes/textclass.h>
113 #ifndef WORKBENCH_STARTUP_H
114 #include <workbench/startup.h>
117 #ifndef WORKBENCH_WORKBENCH_H
118 #include <workbench/workbench.h>
121 /*********************************************************************************************/
124 #include <proto/exec.h>
128 #include <proto/dos.h>
131 #ifndef PROTO_INTUITION_H
132 #include <proto/intuition.h>
135 #ifndef PROTO_GRAPHICS_H
136 #include <proto/graphics.h>
139 #ifndef PROTO_UTILITY_H
140 #include <proto/utility.h>
143 #ifndef PROTO_KEYMAP_H
144 #include <proto/keymap.h>
147 #ifndef PROTO_LOCALE_H
148 #include <proto/locale.h>
151 #ifndef PROTO_LAYERS_H
152 #include <proto/layers.h>
155 #ifndef PROTO_DATATYPES_H
156 #include <proto/datatypes.h>
160 typedef const unsigned char *CONST_STRPTR
;
163 #include <proto/alib.h>
167 #ifndef PROTO_GADTOOLS_H
168 #include <proto/gadtools.h>
172 #include <proto/asl.h>
175 #ifndef PROTO_DISKFONT_H
176 #include <proto/diskfont.h>
180 #include <proto/wb.h>
183 /*********************************************************************************************/
206 /*********************************************************************************************/
210 #undef CATCOMP_STRINGS
211 #undef CATCOMP_NUMBERS
213 #define CATCOMP_NUMBERS
217 /*********************************************************************************************/
221 void OutputMessage(CONST_STRPTR msg
);
222 void Cleanup(CONST_STRPTR msg
);
223 void AddDTOToWin(void);
224 void WinCleanup(void);
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
);
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 /*********************************************************************************************/
248 void InitLocale(STRPTR catname
, ULONG version
);
249 void CleanupLocale(void);
250 CONST_STRPTR
MSG(ULONG id
);
252 /*********************************************************************************************/
253 /*********************************************************************************************/
255 #endif /* GLOBAL_H */