Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / prefs / time / global.h
blob1d7f531a71352fe4c6477ae47c2462cc8adf44bf
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GLOBAL_H
7 #define GLOBAL_H
9 /*********************************************************************************************/
12 #ifndef DOS_DOS_H
13 #include <dos/dos.h>
14 #endif
16 #ifndef EXEC_MEMORY_H
17 #include <exec/memory.h>
18 #endif
20 #ifndef INTUITION_INTUITION_H
21 #include <intuition/intuition.h>
22 #endif
24 #ifndef INTUITION_SCREENS_H
25 #include <intuition/screens.h>
26 #endif
28 #ifndef INTUITION_IMAGECLASS_H
29 #include <intuition/imageclass.h>
30 #endif
32 #ifndef INTUITION_GADGETCLASS_H
33 #include <intuition/gadgetclass.h>
34 #endif
36 #ifndef INTUITION_CLASSUSR_H
37 #include <intuition/classusr.h>
38 #endif
40 #ifndef INTUITION_CLASSES_H
41 #include <intuition/classes.h>
42 #endif
44 #ifndef INTUITION_ICCLASS_H
45 #include <intuition/icclass.h>
46 #endif
48 #ifndef GRAPHICS_GFX_H
49 #include <graphics/gfx.h>
50 #endif
52 #ifndef GRAPHICS_GFXBASE_H
53 #include <graphics/gfxbase.h>
54 #endif
56 #ifndef GRAPHICS_CLIP_H
57 #include <graphics/clip.h>
58 #endif
60 #ifndef GRAPHICS_LAYERS_H
61 #include <graphics/layers.h>
62 #endif
64 #ifndef DEVICES_TIMER_H
65 #include <devices/timer.h>
66 #endif
68 #ifndef LIBRARIES_GADTOOLS_H
69 #include <libraries/gadtools.h>
70 #endif
72 #ifndef UTILITY_UTILITY_H
73 #include <utility/utility.h>
74 #endif
76 #ifndef UTILITY_TAGITEM_H
77 #include <utility/tagitem.h>
78 #endif
80 #ifndef UTILITY_DATE_H
81 #include <utility/date.h>
82 #endif
84 #ifndef LIBRARIES_LOCALE_H
85 #include <libraries/locale.h>
86 #endif
88 #ifndef LIBRARIES_MUI_H
89 #include <libraries/mui.h>
90 #endif
92 /*********************************************************************************************/
94 #ifndef PROTO_EXEC_H
95 #include <proto/exec.h>
96 #endif
98 #ifndef PROTO_DOS_H
99 #include <proto/dos.h>
100 #endif
102 #ifndef PROTO_INTUITION_H
103 #include <proto/intuition.h>
104 #endif
106 #ifndef PROTO_GRAPHICS_H
107 #include <proto/graphics.h>
108 #endif
110 #ifndef PROTO_UTILITY_H
111 #include <proto/utility.h>
112 #endif
114 #ifndef PROTO_LOCALE_H
115 #include <proto/locale.h>
116 #endif
118 #ifndef PROTO_ALIB_H
119 #include <proto/alib.h>
120 #endif
122 #ifndef PROTO_TIMER_H
123 #include <proto/timer.h>
124 #endif
126 #ifndef PROTO_MUIMASTER_H
127 #include <proto/muimaster.h>
128 #endif
130 /*********************************************************************************************/
132 #include "vars.h"
134 #undef CATCOMP_STRINGS
135 #undef CATCOMP_NUMBERS
137 #define CATCOMP_NUMBERS
139 #include "strings.h"
141 /*********************************************************************************************/
143 /* main.c */
145 void Cleanup(STRPTR msg);
147 /* misc.c */
149 void InitMenus(void);
150 LONG NumMonthDays(struct ClockData *cd);
152 /* locale.c */
154 void InitLocale(STRPTR catname, ULONG version);
155 void CleanupLocale(void);
156 STRPTR MSG(ULONG id);
158 /* prefs.c */
160 void InitPrefs(BOOL use, BOOL save);
161 BOOL UsePrefs(void);
162 BOOL SavePrefs(void);
163 void RestorePrefs(void);
166 /*********************************************************************************************/
168 #endif /* GLOBAL_H */