summaryrefslogtreecommitdiffstats
path: root/core/btdiscovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/btdiscovery.h')
-rw-r--r--core/btdiscovery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/btdiscovery.h b/core/btdiscovery.h
index 1432df260..4b4e4b802 100644
--- a/core/btdiscovery.h
+++ b/core/btdiscovery.h
@@ -40,6 +40,7 @@ public:
void btDeviceDiscovered(const QBluetoothDeviceInfo &device);
void btDeviceDiscoveredMain(const btPairedDevice &device);
+ bool btAvailable() const;
#if defined(Q_OS_ANDROID)
void getBluetoothDevices();
#endif
@@ -47,6 +48,7 @@ public:
#endif
private:
static BTDiscovery *m_instance;
+ bool m_btValid;
#if defined(BT_SUPPORT)
QList<struct btVendorProduct> btDCs; // recognized DCs
QList<struct btVendorProduct> btAllDevices; // all paired BT stuff