| | |
| | | #endif /* __WIN32__ */ |
| | | |
| | | |
| | | /* Platform specific functions for Linux */ |
| | | #ifdef __LINUX__ |
| | | |
| | | /** |
| | | \brief Sets the UNIX nice value for a thread, using setpriority() if possible, and RealtimeKit if available. |
| | | |
| | | \return 0 on success, or -1 on error. |
| | | */ |
| | | extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriority(Sint64 threadID, int priority); |
| | | |
| | | #endif /* __LINUX__ */ |
| | | |
| | | /* Platform specific functions for iOS */ |
| | | #if defined(__IPHONEOS__) && __IPHONEOS__ |
| | | |
| | |
| | | \brief Return true if the application is running on Android TV |
| | | */ |
| | | extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void); |
| | | |
| | | /** |
| | | \brief Return true if the application is running on a Chromebook |
| | | */ |
| | | extern DECLSPEC SDL_bool SDLCALL SDL_IsChromebook(void); |
| | | |
| | | /** |
| | | \brief Return true is the application is running on a Samsung DeX docking station |
| | | */ |
| | | extern DECLSPEC SDL_bool SDLCALL SDL_IsDeXMode(void); |
| | | |
| | | /** |
| | | \brief Trigger the Android system back button behavior. |
| | | */ |
| | | extern DECLSPEC void SDLCALL SDL_AndroidBackButton(void); |
| | | |
| | | /** |
| | | See the official Android developer guide for more information: |
| | |
| | | |
| | | #endif /* __WINRT__ */ |
| | | |
| | | /** |
| | | \brief Return true if the current device is a tablet. |
| | | */ |
| | | extern DECLSPEC SDL_bool SDLCALL SDL_IsTablet(void); |
| | | |
| | | /* Ends C function definitions when using C++ */ |
| | | #ifdef __cplusplus |
| | | } |