SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL3pp_platform.h
1#ifndef SDL3PP_PLATFORM_H_
2#define SDL3PP_PLATFORM_H_
3
4#include <SDL3/SDL_platform.h>
5
6namespace SDL {
7
38inline const char* GetPlatform() { return SDL_GetPlatform(); }
39
40#ifdef SDL3PP_DOC
41
47#define SDL_PLATFORM_AIX 1
48
54#define SDL_PLATFORM_BSDI 1
55
61#define SDL_PLATFORM_FREEBSD 1
62
68#define SDL_PLATFORM_HPUX 1
69
75#define SDL_PLATFORM_IRIX 1
76
85#define SDL_PLATFORM_LINUX 1
86
92#define SDL_PLATFORM_ANDROID 1
93
103#define SDL_PLATFORM_UNIX 1
104
117#define SDL_PLATFORM_APPLE 1
118
126#define SDL_PLATFORM_TVOS 1
127
135#define SDL_PLATFORM_VISIONOS 1
136
144#define SDL_PLATFORM_IOS 1
152#define SDL_PLATFORM_MACOS 1
153
159#define SDL_PLATFORM_EMSCRIPTEN 1
160
166#define SDL_PLATFORM_NETBSD 1
167
173#define SDL_PLATFORM_OPENBSD 1
174
180#define SDL_PLATFORM_OS2 1
181
187#define SDL_PLATFORM_OSF 1
188
194#define SDL_PLATFORM_QNXNTO 1
195
201#define SDL_PLATFORM_RISCOS 1
202
208#define SDL_PLATFORM_SOLARIS 1
209
215#define SDL_PLATFORM_CYGWIN 1
216
231#define SDL_PLATFORM_WINDOWS 1
232
238#define SDL_WINAPI_FAMILY_PHONE 1
239
246#define SDL_PLATFORM_WINGDK 1
247
253#define SDL_PLATFORM_XBOXSERIES 1
254
264#define SDL_PLATFORM_WIN32 1
265
272#define SDL_PLATFORM_GDK 1
273
279#define SDL_PLATFORM_PSP 1
280
287#define SDL_PLATFORM_PS2 1
288
294#define SDL_PLATFORM_VITA 1
295
301#define SDL_PLATFORM_3DS 1
302
303#endif // SDL3PP_DOC
304
306
307} // namespace SDL
308
309#endif /* SDL3PP_PLATFORM_H_ */
const char * GetPlatform()
Get the name of the platform.
Definition SDL3pp_platform.h:38
Main include header for the SDL3pp library.