diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-06-10 10:09:56 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-12 09:55:27 -0700 |
commit | 790c0dcfc876d50b21791ad7b81f693796e2173b (patch) | |
tree | 3ab9032be99ca11d666eb4188fca05e950dbd579 /core/btdiscovery.h | |
parent | c7a35098008b215b1cccad512c4c568cd618f2c6 (diff) | |
download | subsurface-790c0dcfc876d50b21791ad7b81f693796e2173b.tar.gz |
QML UI: add internal admin for virtual vendor
Added a list of paired BT devices for the "Paired BT Devices" vendor. The
devices under this vendor represent all BT devces that can be found
from the local BT interface. Some special processing is required, as
the BT provided data is (obviously) missing the specific data needed
to open a BT device using libdc code. This processing is not in
this commit, but will follow. This commit is preparation for that.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.h')
-rw-r--r-- | core/btdiscovery.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/btdiscovery.h b/core/btdiscovery.h index e4d265616..1951b6672 100644 --- a/core/btdiscovery.h +++ b/core/btdiscovery.h @@ -40,11 +40,13 @@ public: void getBluetoothDevices(); #endif QList<struct btVendorProduct> getBtDcs(); + QList<struct btVendorProduct> getBtAllDevices(); #endif private: static BTDiscovery *m_instance; #if defined(BT_SUPPORT) - QList<struct btVendorProduct> btDCs; + QList<struct btVendorProduct> btDCs; // recognized DCs + QList<struct btVendorProduct> btAllDevices; // all paired BT stuff #endif #if defined(Q_OS_ANDROID) bool checkException(const char* method, const QAndroidJniObject* obj); |