summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_p.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-09-28 21:15:28 +0300
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-10-13 13:09:38 +0000
commit797624ac0c5f0a7ee3dd0a938454d55cb8786373 (patch)
treecb834888381805b491d373d63ef4a5c5e0b4a284 /src/bluetooth/qbluetoothlocaldevice_p.h
parent3e7d0c6b62d2fd6acd2c8a64b8e007729843e088 (diff)
Windows: Simplify code related to enumerating of a local radios
It is the first stage to cleaning of the 'windows' directory. A shared code related to enumerating of a local adapters are moved to the QBluetoothLocalDevicePrivate class. Change-Id: I208b79c29cd1f906b6fed627d25c7b1310718581 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h
index 844be01b..66f5c1c0 100644
--- a/src/bluetooth/qbluetoothlocaldevice_p.h
+++ b/src/bluetooth/qbluetoothlocaldevice_p.h
@@ -79,10 +79,6 @@ QT_END_NAMESPACE
#include <QtCore/QPair>
#endif
-#ifdef Q_OS_WIN32
-#include "windows/qwinclassicbluetooth_p.h"
-#endif
-
QT_BEGIN_NAMESPACE
class QBluetoothAddress;
@@ -218,6 +214,8 @@ public:
bool isValid() const;
void initialize(const QBluetoothAddress &address);
+ static QList<QBluetoothHostInfo> localAdapters();
+
QBluetoothAddress deviceAddress;
QString deviceName;
bool deviceValid;