mirror of
https://github.com/4ian/GDevelop.git
synced 2026-10-12 02:01:17 +00:00
* Update all CMakeLists of extensions to use clang-format * Run clang-format on all Extensions * Update GDCore CMakeLists.txt to add clang-format * Run clang-format on GDCore files * Update GDJS and GDCpp CMakeLists.txt to add clang-format * Run clang-format on GDCpp and GDJS files
19 lines
302 B
C++
19 lines
302 B
C++
/**
|
|
|
|
GDevelop - SystemInfo Extension
|
|
Copyright (c) 2016 Florian Rival ([email protected])
|
|
This project is released under the MIT License.
|
|
*/
|
|
|
|
namespace SystemInfo {
|
|
|
|
bool GD_EXTENSION_API IsMobile() {
|
|
#if defined(ANDROID)
|
|
return true;
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
|
|
} // namespace SystemInfo
|