SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL3pp_platform.h
1
2#ifndef SDL3PP_PLATFORM_H_
3#define SDL3PP_PLATFORM_H_
4
5#include <SDL3/SDL_platform.h>
6#include "SDL3pp_stdinc.h"
7
8namespace SDL {
37inline const char* GetPlatform() { return SDL_GetPlatform(); }
38
39#ifdef SDL3PP_DOC
40
46#define SDL_PLATFORM_AIX 1
47
53#define SDL_PLATFORM_BSDI 1
54
60#define SDL_PLATFORM_FREEBSD 1
61
67#define SDL_PLATFORM_HPUX 1
68
74#define SDL_PLATFORM_IRIX 1
75
84#define SDL_PLATFORM_LINUX 1
85
91#define SDL_PLATFORM_ANDROID 1
92
102#define SDL_PLATFORM_UNIX 1
103
116#define SDL_PLATFORM_APPLE 1
117
125#define SDL_PLATFORM_TVOS 1
126
134#define SDL_PLATFORM_VISIONOS 1
135
143#define SDL_PLATFORM_IOS 1
151#define SDL_PLATFORM_MACOS 1
152
158#define SDL_PLATFORM_EMSCRIPTEN 1
159
165#define SDL_PLATFORM_NETBSD 1
166
172#define SDL_PLATFORM_OPENBSD 1
173
179#define SDL_PLATFORM_OS2 1
180
186#define SDL_PLATFORM_OSF 1
187
193#define SDL_PLATFORM_QNXNTO 1
194
200#define SDL_PLATFORM_RISCOS 1
201
207#define SDL_PLATFORM_SOLARIS 1
208
214#define SDL_PLATFORM_CYGWIN 1
215
230#define SDL_PLATFORM_WINDOWS 1
231
237#define SDL_WINAPI_FAMILY_PHONE 1
238
245#define SDL_PLATFORM_WINGDK 1
246
252#define SDL_PLATFORM_XBOXSERIES 1
253
263#define SDL_PLATFORM_WIN32 1
264
271#define SDL_PLATFORM_GDK 1
272
278#define SDL_PLATFORM_PSP 1
279
286#define SDL_PLATFORM_PS2 1
287
293#define SDL_PLATFORM_VITA 1
294
300#define SDL_PLATFORM_3DS 1
301
302#endif // SDL3PP_DOC
303
305
306} // namespace SDL
307
308#endif /* SDL3PP_PLATFORM_H_ */
const char * GetPlatform()
Get the name of the platform.
Definition SDL3pp_platform.h:37
the main namespace where all SDL3pp public functions and types live
Definition SDL3pp_assert.h:7