|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QtCore/QString>#include <functional>
Include dependency graph for SDLPlatform.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | SDLPlatform |
Enumerations | |
| enum | SDLPlatform::AndroidStorageState { SDLPlatform::StorageStateNone = 0 , SDLPlatform::StorageStateRead = 0x01 , SDLPlatform::StorageStateWrite = 0x02 } |
| Android external storage state flags. More... | |
Functions | |
| QString | SDLPlatform::getVersion () |
| Get SDL version as string (e.g., "3.4.0") | |
| QString | SDLPlatform::getRevision () |
| Get SDL revision string (git hash) | |
| bool | SDLPlatform::setHint (const QString &name, const QString &value) |
| Set an SDL hint. | |
| QString | SDLPlatform::getHint (const QString &name) |
| Get an SDL hint value. | |
| bool | SDLPlatform::getHintBoolean (const QString &name, bool defaultValue=false) |
| Get an SDL hint as boolean. | |
| bool | SDLPlatform::resetHint (const QString &name) |
| Reset an SDL hint to default. | |
| void | SDLPlatform::resetHints () |
| Reset all hints to defaults. | |
| QString | SDLPlatform::getPlatform () |
| Get the current platform name. | |
| bool | SDLPlatform::isAndroid () |
| Check if we're running on a specific platform. | |
| bool | SDLPlatform::isIOS () |
| bool | SDLPlatform::isWindows () |
| bool | SDLPlatform::isMacOS () |
| bool | SDLPlatform::isLinux () |
| bool | SDLPlatform::isTablet () |
| Check if tablet mode is active (Android/Windows) | |
| bool | SDLPlatform::isTV () |
| Check if running on a TV device. | |
| bool | SDLPlatform::isDeXMode () |
| Check if running in DeX mode (Samsung) | |
| bool | SDLPlatform::isChromebook () |
| Check if running on a Chromebook (Chrome OS) | |
| int | SDLPlatform::getNumLogicalCPUCores () |
| Get number of logical CPU cores. | |
| int | SDLPlatform::getSystemRAM () |
| Get system RAM in MB. | |
| int | SDLPlatform::getAndroidSDKVersion () |
| QString | SDLPlatform::getAndroidInternalStoragePath () |
| QString | SDLPlatform::getAndroidExternalStoragePath () |
| int | SDLPlatform::getAndroidExternalStorageState () |
| bool | SDLPlatform::requestAndroidPermission (const QString &permission, std::function< void(bool granted)> callback) |
| QString | SDLPlatform::getDevicePowerInfo (int *seconds, int *percent) |