3#include <QtCore/QObject>
4#include <QtQmlIntegration/QtQmlIntegration>
32 Q_INVOKABLE
static int mouseX();
33 Q_INVOKABLE
static int mouseY();
38#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
39 static bool isMobile() {
return true; }
46#if defined (Q_OS_ANDROID)
48 static bool isiOS() {
return false; }
49 static bool isLinux() {
return false; }
50 static bool isMacOS() {
return false; }
52#elif defined(Q_OS_IOS)
54 static bool isiOS() {
return true; }
55 static bool isLinux() {
return false; }
56 static bool isMacOS() {
return false; }
58#elif defined(Q_OS_MACOS)
60 static bool isiOS() {
return false; }
61 static bool isLinux() {
return false; }
62 static bool isMacOS() {
return true; }
64#elif defined(Q_OS_LINUX)
66 static bool isiOS() {
return false; }
67 static bool isLinux() {
return true; }
68 static bool isMacOS() {
return false; }
70#elif defined(Q_OS_WIN)
72 static bool isiOS() {
return false; }
73 static bool isLinux() {
return false; }
74 static bool isMacOS() {
return false; }
78 static bool isiOS() {
return false; }
84#if defined(QGC_NO_SERIAL_LINK)
91 static bool isDebug() {
return true; }