2 Copyright © 2002-2015, The AROS Development Team. All rights reserved.
6 #ifndef MUIMASTER_INTERN_H
7 #define MUIMASTER_INTERN_H
10 # include <exec/types.h>
12 #ifndef EXEC_LIBRARIES_H
13 # include <exec/libraries.h>
16 # include <exec/memory.h>
18 #ifndef INTUITION_CLASSES_H
19 # include <intuition/classes.h>
21 #ifndef INTUITION_INTUITIONBASE_H
22 # include <intuition/intuitionbase.h>
24 #ifndef GRAPHICS_GFXBASE_H
25 # include <graphics/gfxbase.h>
30 #ifndef UTILITY_UTILITY_H
31 # include <utility/utility.h>
33 #ifndef EXEC_SEMAPHORES_H
34 # include <exec/semaphores.h>
38 # ifndef AROS_ASMCALL_H
39 # include <aros/asmcall.h>
42 # include "support_amigaos.h"
46 #include "textengine.h"
51 struct MUIMasterBase_intern
53 struct Library library
;
55 /* On AROS these fields are handled by the system */
56 struct ExecBase
*sysbase
;
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
;
79 /* struct Library *datatypesbase; */
82 struct TextFont
*topaz8font
;
83 struct SignalSemaphore ZuneSemaphore
; /* Used when accessing global data */
86 struct MinList BuiltinClasses
;
87 struct MinList Applications
;
92 #define MUIMB(b) ((struct MUIMasterBase_intern *)b)
97 #define SysBase (MUIMB(MUIMasterBase)->sysbase)
100 #define DOSBase (MUIMB(MUIMasterBase)->dosbase)
103 #define UtilityBase (MUIMB(MUIMasterBase)->utilitybase)
106 #define AslBase (MUIMB(MUIMasterBase)->aslbase)
109 #define GfxBase (MUIMB(MUIMasterBase)->gfxbase)
112 #define LayersBase (MUIMB(MUIMasterBase)->layersbase)
115 #define IntuitionBase (MUIMB(MUIMasterBase)->intuibase)
118 #define CxBase (MUIMB(MUIMasterBase)->cxbase)
121 #define RexxSysBase (MUIMB(MUIMasterBase)->rxsbase)
124 #define KeymapBase (MUIMB(MUIMasterBase)->keymapbase)
127 #define GadToolsBase (MUIMB(MUIMasterBase)->gadtoolsbase)
130 #define IFFParseBase (MUIMB(MUIMasterBase)->iffparsebase)
133 #define DiskfontBase (MUIMB(MUIMasterBase)->diskfontbase)
136 #define IconBase (MUIMB(MUIMasterBase)->iconbase)
139 #define CyberGfxBase (MUIMB(MUIMasterBase)->cybergfxbase)
141 #undef CoolImagesBase
142 #define CoolImagesBase (MUIMB(MUIMasterBase)->coolimagesbase)
145 #define WorkbenchBase (MUIMB(MUIMasterBase)->workbenchbase)
147 #endif /* __AROS__ */
149 #endif /* MUIMASTER_INTERN_H */