forked from libnui/nui3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ngl_all.h
175 lines (149 loc) · 3.6 KB
/
ngl_all.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*
NUI3 - C++ cross-platform GUI framework for OpenGL based applications
Copyright (C) 2002-2003 Sebastien Metrot
licence: see nui3/LICENCE.TXT
*/
/*!
\file ngl_all.h
\brief All includes in one header file.
This file includes all ngl headers to ease the creation of precompiled
headers outside of the ngl project in VC. Just include it in your
precompiled header central file and everything should be rolling.
Lookup precompiled headers in the VC doc to learn how to use them.
*/
#ifndef __ngl_all_h__
#define __ngl_all_h__
//#include "nui.h"
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <float.h> // for FLT_MAX
#include <limits.h> // for INT_MAX
#include <locale.h>
#include <math.h> // for log exp sqrt etc, and maybe sqrtf
#ifndef __LINUX__
#include <setjmp.h>
#endif
#include <stdarg.h>
#include <stdio.h> // for printf debugging
#include <stdlib.h> // for malloc
#include <string.h> // for strstr, because gluCheckExtension isn't available in libglu32 on windows
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <algorithm>
#include <cstring>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <typeinfo>
#include <utility>
#include <vector>
//#include <hash_map>
#ifdef _MACOSX_
#include <sys/param.h>
#include <sys/ucred.h>
#include <sys/mount.h>
#endif
#if (defined _WIN32_) && !(defined WINCE)
#include <shlobj.h>
#endif
#if (defined _WIN32_) && !(defined WINCE)
#include <io.h>
#include <direct.h>
#include <shlobj.h>
#include <shellapi.h>
#include <winioctl.h>
#define PATH_MAX MAX_PATH
#define F_OK 0
#define R_OK 4
#define W_OK 2
#pragma warning(disable: 4996)
#elif __APPLE__
#include <unistd.h>
#include <sys/types.h>
#elif WINCE
#include <shlobj.h>
#include <winioctl.h>
#define PATH_MAX MAX_PATH
#define F_OK 0
#define R_OK 4
#define W_OK 2
#pragma warning(disable: 4996)
#else
#include <unistd.h>
#include <sys/types.h>
#endif // _WIN32_
#if defined(__APPLE__) // for ntohl byteswapping, should be a no-op on PPC and __bswap on x86.
#include <arpa/inet.h>
#else
#if defined(_WIN32)
#include <winsock2.h>
#else
#include <netinet/in.h>
#endif
#endif
#ifndef WIN32
#include <dirent.h>
#endif
//#if (((defined _DEBUG) || (defined DEBUG)) || (defined _DEBUG_))
//#include "mmgr.h"
//#endif
#include "nglKernel.h"
#include "nglTime.h"
#include "nglPath.h"
#include "ngl3DSLoader.h"
#include "nglApplication.h"
#include "nglBitmapTools.h"
#include "nglCPUInfo.h"
#include "nglClipBoard.h"
#include "nglConsole.h"
#include "nglContext.h"
#include "nglDataObjects.h"
#include "nglDataTypesRegistry.h"
#include "nglDeviceInfo.h"
#include "nglDragAndDropObjects.h"
#include "nglEndian.h"
#include "nglError.h"
#include "nglEvent.h"
#include "nglFile.h"
#include "nglFont.h"
#include "nglFontBase.h"
#include "nglFontCache.h"
#include "nglFontLayout.h"
#include "nglIFile.h"
#include "nglIMemory.h"
#include "nglIOFile.h"
#include "nglIOStream.h"
#include "nglIStream.h"
#include "nglIZip.h"
#include "nglImage.h"
#include "nglImageCodec.h"
#include "nglInputDevice.h"
#include "nglKeyboard.h"
#include "nglLog.h"
#include "nglMath.h"
#include "nglMatrix.h"
#include "nglMimeSource.h"
#include "nglModule.h"
#include "nglOFile.h"
#include "nglOMemory.h"
#include "nglOStream.h"
#include "nglPlugin.h"
#include "nglQuaternion.h"
#include "nglStream.h"
#include "nglString.h"
#include "nglTimer.h"
#include "nglVector.h"
#include "nglVideoMode.h"
#include "nglWindow.h"
#include "nglZipFS.h"
#include "nglMath.h"
#endif // __ngl_all_h__