diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-10-27 13:16:15 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-11-03 13:09:06 +0000 |
commit | 37ef963092460be6cf51dda81bffcd068a875165 (patch) | |
tree | ee5ba3e348ae2a3a4b1b04e82afd0dde87cdee22 /src/bluetooth/qlowenergycontroller_p.h | |
parent | 6772b20c3adb422a1e4557274300bed39e33018b (diff) |
Various cleanups following the recent QLEControllerPrivate header splits
Change-Id: Ia98a7a16c3e1e478d1c6e30d9e70dc703c1fe091
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_p.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.h b/src/bluetooth/qlowenergycontroller_p.h index b02baaee..d7c60149 100644 --- a/src/bluetooth/qlowenergycontroller_p.h +++ b/src/bluetooth/qlowenergycontroller_p.h @@ -77,12 +77,9 @@ QT_END_NAMESPACE #include "qlowenergycontroller.h" #include "qlowenergycontrollerbase_p.h" -#include <functional> - QT_BEGIN_NAMESPACE class QLowEnergyServiceData; -class QTimer; extern void registerQLowEnergyControllerMetaType(); @@ -129,28 +126,8 @@ public: void addToGenericAttributeList(const QLowEnergyServiceData &service, QLowEnergyHandle startHandle) override; - - - QLowEnergyHandle lastLocalHandle; - - struct Attribute { - Attribute() : handle(0) {} - - QLowEnergyHandle handle; - QLowEnergyHandle groupEndHandle; - QLowEnergyCharacteristic::PropertyTypes properties; - QBluetooth::AttAccessConstraints readConstraints; - QBluetooth::AttAccessConstraints writeConstraints; - QBluetoothUuid type; - QByteArray value; - int minLength; - int maxLength; - }; - QVector<Attribute> localAttributes; }; -Q_DECLARE_TYPEINFO(QLowEnergyControllerPrivateCommon::Attribute, Q_MOVABLE_TYPE); - QT_END_NAMESPACE #endif // QT_OSX_BLUETOOTH || QT_IOS_BLUETOOTH |