summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-15 21:43:38 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-15 21:43:38 -0400
commita48a42efe07273d042bde4a806771409a0f227b3 (patch)
treecd6f206568d495557eebec7de2a8f12b15fa4de3 /mobile-widgets/qmlmanager.h
parent8f6827ab122bb2ae4926ed4a692fe6e02731acd7 (diff)
downloadsubsurface-a48a42efe07273d042bde4a806771409a0f227b3.tar.gz
Make sure we can still build without BT_SUPPORT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 45851dfdf..d89c1e27d 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -9,7 +9,7 @@
#include <QElapsedTimer>
#include <QColor>
-#if BT_SUPPORT
+#if defined(BT_SUPPORT)
#include "core/btdiscovery.h"
#endif
#include "core/gpslocation.h"
@@ -138,7 +138,9 @@ public:
bool showPin() const;
void setShowPin(bool enable);
Q_INVOKABLE void setStatusbarColor(QColor color);
+#if defined(BT_SUPPORT)
void btHostModeChange(QBluetoothLocalDevice::HostMode state);
+#endif
#if defined(Q_OS_ANDROID)
void writeToAppLogFile(QString logText);