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#include "SDL3pp_stdinc.h"
6
7namespace SDL {
36inline const char* GetPlatform() { return SDL_GetPlatform(); }
37
38#ifdef SDL3PP_DOC
39
45#define SDL_PLATFORM_AIX 1
46
52#define SDL_PLATFORM_BSDI 1
53
59#define SDL_PLATFORM_FREEBSD 1
60
66#define SDL_PLATFORM_HPUX 1
67
73#define SDL_PLATFORM_IRIX 1
74
83#define SDL_PLATFORM_LINUX 1
84
90#define SDL_PLATFORM_ANDROID 1
91
101#define SDL_PLATFORM_UNIX 1
102
115#define SDL_PLATFORM_APPLE 1
116
124#define SDL_PLATFORM_TVOS 1
125
133#define SDL_PLATFORM_VISIONOS 1
134
142#define SDL_PLATFORM_IOS 1
150#define SDL_PLATFORM_MACOS 1
151
157#define SDL_PLATFORM_EMSCRIPTEN 1
158
164#define SDL_PLATFORM_NETBSD 1
165
171#define SDL_PLATFORM_OPENBSD 1
172
178#define SDL_PLATFORM_OS2 1
179
185#define SDL_PLATFORM_OSF 1
186
192#define SDL_PLATFORM_QNXNTO 1
193
199#define SDL_PLATFORM_RISCOS 1
200
206#define SDL_PLATFORM_SOLARIS 1
207
213#define SDL_PLATFORM_CYGWIN 1
214
229#define SDL_PLATFORM_WINDOWS 1
230
236#define SDL_WINAPI_FAMILY_PHONE 1
237
244#define SDL_PLATFORM_WINGDK 1
245
251#define SDL_PLATFORM_XBOXSERIES 1
252
262#define SDL_PLATFORM_WIN32 1
263
270#define SDL_PLATFORM_GDK 1
271
277#define SDL_PLATFORM_PSP 1
278
285#define SDL_PLATFORM_PS2 1
286
292#define SDL_PLATFORM_VITA 1
293
299#define SDL_PLATFORM_3DS 1
300
301#endif // SDL3PP_DOC
302
304
305} // namespace SDL
306
307#endif /* SDL3PP_PLATFORM_H_ */
const char * GetPlatform()
Get the name of the platform.
Definition SDL3pp_platform.h:36
the main namespace where all SDL3pp public functions and types live
Definition SDL3pp_assert.h:7