grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / muimaster / muimaster_intern.h
blob1474536d5e50587dd807229967f4b9942a60e3e5
1 /*
2 Copyright © 2002-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef MUIMASTER_INTERN_H
7 #define MUIMASTER_INTERN_H
9 #ifndef EXEC_TYPES_H
10 # include <exec/types.h>
11 #endif
12 #ifndef EXEC_LIBRARIES_H
13 # include <exec/libraries.h>
14 #endif
15 #ifndef EXEC_MEMORY_H
16 # include <exec/memory.h>
17 #endif
18 #ifndef INTUITION_CLASSES_H
19 # include <intuition/classes.h>
20 #endif
21 #ifndef INTUITION_INTUITIONBASE_H
22 # include <intuition/intuitionbase.h>
23 #endif
24 #ifndef GRAPHICS_GFXBASE_H
25 # include <graphics/gfxbase.h>
26 #endif
27 #ifndef DOS_DOS_H
28 # include <dos/dos.h>
29 #endif
30 #ifndef UTILITY_UTILITY_H
31 # include <utility/utility.h>
32 #endif
33 #ifndef EXEC_SEMAPHORES_H
34 # include <exec/semaphores.h>
35 #endif
37 #ifdef __AROS__
38 # ifndef AROS_ASMCALL_H
39 # include <aros/asmcall.h>
40 # endif
41 #else
42 # include "support_amigaos.h"
43 #endif
45 #include "mui.h"
46 #include "textengine.h"
47 #include "prefs.h"
48 #include "penspec.h"
51 struct MUIMasterBase_intern
53 struct Library library;
54 #ifndef __AROS__
55 /* On AROS these fields are handled by the system */
56 struct ExecBase *sysbase;
57 BPTR seglist;
59 /* On AROS autoopened libraries are used */
60 struct DosLibrary *dosbase;
61 struct UtilityBase *utilitybase;
62 struct Library *aslbase;
63 struct GfxBase *gfxbase;
64 struct Library *layersbase;
65 struct IntuitionBase *intuibase;
66 struct Library *cxbase;
67 struct RxsLib *rxsbase;
68 struct Library *keymapbase;
69 struct Library *gadtoolsbase;
70 struct Library *iffparsebase;
71 struct Library *diskfontbase;
72 struct Library *iconbase;
73 struct Library *cybergfxbase;
74 struct Library *workbenchbase;
75 #ifdef HAVE_COOLIMAGES
76 struct Library *coolimagesbase;
77 #endif
79 /* struct Library *datatypesbase; */
80 #endif /* __AROS__ */
82 struct TextFont *topaz8font;
83 struct SignalSemaphore ZuneSemaphore; /* Used when accessing global data */
84 APTR SpecialMemory;
86 struct MinList BuiltinClasses;
87 struct MinList Applications;
91 #undef MUIMB
92 #define MUIMB(b) ((struct MUIMasterBase_intern *)b)
94 #ifndef __AROS__
96 #undef SysBase
97 #define SysBase (MUIMB(MUIMasterBase)->sysbase)
99 #undef DOSBase
100 #define DOSBase (MUIMB(MUIMasterBase)->dosbase)
102 #undef UtilityBase
103 #define UtilityBase (MUIMB(MUIMasterBase)->utilitybase)
105 #undef AslBase
106 #define AslBase (MUIMB(MUIMasterBase)->aslbase)
108 #undef GfxBase
109 #define GfxBase (MUIMB(MUIMasterBase)->gfxbase)
111 #undef LayersBase
112 #define LayersBase (MUIMB(MUIMasterBase)->layersbase)
114 #undef IntuitionBase
115 #define IntuitionBase (MUIMB(MUIMasterBase)->intuibase)
117 #undef CxBase
118 #define CxBase (MUIMB(MUIMasterBase)->cxbase)
120 #undef RexxSysBase
121 #define RexxSysBase (MUIMB(MUIMasterBase)->rxsbase)
123 #undef KeymapBase
124 #define KeymapBase (MUIMB(MUIMasterBase)->keymapbase)
126 #undef GadToolsBase
127 #define GadToolsBase (MUIMB(MUIMasterBase)->gadtoolsbase)
129 #undef IFFParseBase
130 #define IFFParseBase (MUIMB(MUIMasterBase)->iffparsebase)
132 #undef DiskfontBase
133 #define DiskfontBase (MUIMB(MUIMasterBase)->diskfontbase)
135 #undef IconBase
136 #define IconBase (MUIMB(MUIMasterBase)->iconbase)
138 #undef CyberGfxBase
139 #define CyberGfxBase (MUIMB(MUIMasterBase)->cybergfxbase)
141 #undef CoolImagesBase
142 #define CoolImagesBase (MUIMB(MUIMasterBase)->coolimagesbase)
144 #undef WorkbenchBase
145 #define WorkbenchBase (MUIMB(MUIMasterBase)->workbenchbase)
147 #endif /* __AROS__ */
149 #endif /* MUIMASTER_INTERN_H */