chiark / gitweb /
Create readable text `.bas' for each tokenized BASIC `,ffb' file.
[ssr] / StraySrc / Libraries / Steel / h / steel
1 /*
2  * steel.h
3  *
4  * Central control of header files and things
5  *
6  * © 1993-1998 Straylight
7  */
8
9 /*----- Licensing note ----------------------------------------------------*
10  *
11  * This file is part of Straylight's Steel library.
12  *
13  * Steel is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation; either version 2, or (at your option)
16  * any later version.
17  *
18  * Steel is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with Steel.  If not, write to the Free Software Foundation,
25  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26  */
27
28 #ifndef __steel_h
29 #define __steel_h
30
31 #define steel_VERSION 132
32 #define steel_DATE "1 September 1993"
33
34 /*-----------------------------------------------------------------------
35
36   OK, let's face it - we've got so many header files we don't know
37   whether we're coming or going.  This header is designed to help manage
38   all the others.  The way I've decided to handle this is for the source
39   code to define a bunch of constants concerned with not what bits of
40   code you need to access, but what sort of program you want to write,
41   and then include this header.
42
43   The following table shows the constant names, their meanings, and
44   which headers they include.  Note that the order of inclusions here is
45   such that each is included at most once.  You *won't* make anything
46   faster by doing it all yourself.  Also, note that not all Steel
47   headers are included in this selection.
48
49           Constant   Meaning           Notes             Includes
50
51           _CORE                        Always included   wimp.h
52                                                          wimpt.h
53                                                          win.h
54                                                          menu.h
55                                                          event.h
56                                                          ibicon.h
57                                                          res.h
58                                                          resspr.h
59                                                          template.h
60                                                          dbox.h
61                                                          mem.h
62                                                          visdelay.h
63
64           _STDAPP   Standard includes                    help.h
65                     for most programs                    exception.h
66                                                          msgs.h
67                                                          utils.h
68                                                          stddbox.h
69                                                          werr.h
70
71           _XFER      Program will                        xferrecv.h
72                      transfer data                       xfersend.h
73                                                          saveas.h
74
75           _LOWLVL    Program needs     Includes kernel   kernel.h
76                      low-level access  rather than os    swis.h
77                      to OS calls       because Acorn
78                                        prefer it
79
80 -----------------------------------------------------------------------*/
81
82 #ifndef __wimp_h
83   #include "wimp.h"
84 #endif
85 #ifndef __wimpt_h
86   #include "wimpt.h"
87 #endif
88 #ifndef __win_h
89   #include "win.h"
90 #endif
91 #ifndef __event_h
92   #include "event.h"
93 #endif
94 #ifndef __ibicon_h
95   #include "ibicon.h"
96 #endif
97 #ifndef __res_h
98   #include "res.h"
99 #endif
100 #ifndef __resspr_h
101   #include "resspr.h"
102 #endif
103 #ifndef __template_h
104   #include "template.h"
105 #endif
106 #ifndef __dbox_h
107   #include "dbox.h"
108 #endif
109 #ifndef __mem_h
110   #include "mem.h"
111 #endif
112 #ifndef __visdelay_h
113   #include "visdelay.h"
114 #endif
115
116 #ifdef _STDAPP
117   #ifndef __help_h
118     #include "help.h"
119   #endif
120   #ifndef __exception_h
121     #include "exception.h"
122   #endif
123   #ifndef __msgs_h
124     #include "msgs.h"
125   #endif
126   #ifndef __utils_h
127     #include "utils.h"
128   #endif
129   #ifndef __stddbox_h
130     #include "stddbox.h"
131   #endif
132   #ifndef __werr_h
133     #include "werr.h"
134   #endif
135 #endif
136
137 #ifdef _XFER
138   #ifndef __xferrecv_h
139     #include "xferrecv.h"
140   #endif
141   #ifndef __saveas_h
142     #include "saveas.h"
143   #endif
144 #endif
145
146 #ifdef _LOWLVL
147   #ifndef __kernel_h
148     #include "kernel.h"
149   #endif
150   #ifndef __swis_h
151     #include "swis.h"
152   #endif
153 #endif
154
155 #endif