summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index e21b93d07..bc2cc1fbf 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -12,6 +12,9 @@
#include <QBluetoothDeviceDiscoveryAgent>
#include <QBluetoothUuid>
#endif
+#if defined(Q_OS_ANDROID)
+#include <QAndroidJniObject>
+#endif
#include "core/gpslocation.h"
#include "qt-models/divelistmodel.h"
@@ -125,6 +128,7 @@ public:
#if defined(BT_SUPPORT)
void btDeviceDiscovered(const QBluetoothDeviceInfo &device);
#endif
+ QStringList getBluetoothDevices();
public slots:
void applicationStateChanged(Qt::ApplicationState state);
@@ -207,6 +211,11 @@ private:
bool checkDepth(DiveObjectHelper *myDive, struct dive *d, QString depth);
bool currentGitLocalOnly;
bool m_showPin;
+
+#if defined(Q_OS_ANDROID)
+ bool checkException(const char* method, const QAndroidJniObject* obj);
+#endif
+
#if defined(BT_SUPPORT)
QBluetoothLocalDevice localBtDevice;
QBluetoothDeviceDiscoveryAgent *discoveryAgent;