Updated from its repository.
[cake.git] / workbench / classes / gadgets / texteditor / include / proto / muimaster.h
blob7bd828e37b8cce16262d473f73874bc3244405d0
1 #ifndef PROTO_MUIMASTER_H
2 #define PROTO_MUIMASTER_H
4 /***************************************************************************
6 Magic User Interface - MUI
7 Copyright (C) 1992-2008 by Stefan Stuntz <stefan@stuntz.com>
8 All Rights Reserved.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 IN NO EVENT WILL THE AUTHORS BE LIABLE FOR DIRECT, INDIRECT, INCIDENTAL,
15 OR CONSEQUENTIAL DAMAGES RESULTING FROM ANY CLAIM ARISING OUT OF THE
16 INFORMATION PRESENTED HEREIN, EVEN IF IT HAS BEEN ADVISED OF THE
17 POSSIBILITIES OF SUCH DAMAGES.
19 ***************************************************************************/
21 #ifndef EXEC_TYPES_H
22 #include <exec/types.h>
23 #endif
24 #ifndef INTUITION_CLASSES_H
25 #include <intuition/classes.h>
26 #endif
27 #ifndef UTILITY_TAGITEM_H
28 #include <utility/tagitem.h>
29 #endif
30 #ifndef LIBRARIES_MUI_H
31 #include <libraries/mui.h>
32 #endif
34 /****************************************************************************/
36 #ifndef __NOLIBBASE__
37 extern struct Library * MUIMasterBase;
38 #endif /* __NOLIBBASE__ */
40 /****************************************************************************/
42 #ifdef __amigaos4__
43 #include <interfaces/muimaster.h>
44 #ifdef __USE_INLINE__
45 #include <inline4/muimaster.h>
46 #endif /* __USE_INLINE__ */
47 #ifndef CLIB_MUIMASTER_PROTOS_H
48 #define CLIB_MUIMASTER_PROTOS_H 1
49 #endif /* CLIB_MUIMASTER_PROTOS_H */
50 #ifndef __NOGLOBALIFACE__
51 extern struct MUIMasterIFace *IMUIMaster;
52 #endif /* __NOGLOBALIFACE__ */
53 #else /* __amigaos4__ */
54 #ifndef CLIB_MUIMASTER_PROTOS_H
55 #include <clib/muimaster_protos.h>
56 #endif /* CLIB_MUIMASTER_PROTOS_H */
57 #if defined(__GNUC__)
58 #ifdef __AROS__
59 #include <defines/muimaster.h>
60 #else
61 #ifndef __PPC__
62 #include <inline/muimaster.h>
63 #else
64 #include <ppcinline/muimaster.h>
65 #endif /* __PPC__ */
66 #endif /* __AROS__ */
67 #elif defined(__VBCC__)
68 #ifndef __PPC__
69 #include <inline/muimaster_protos.h>
70 #endif /* __PPC__ */
71 #else
72 #include <pragmas/muimaster_pragmas.h>
73 #endif /* __GNUC__ */
74 #endif /* __amigaos4__ */
76 /****************************************************************************/
78 #endif /* PROTO_MUIMASTER_H */