summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycharacteristic.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-10-26 13:23:35 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-11-03 13:08:54 +0000
commite1c4f25ab12892baaf43b0476fe669a48b2c58d0 (patch)
treee75acce16920ed85bea4375df3653b7d59297b02 /src/bluetooth/qlowenergycharacteristic.h
parentfbf36811672de79f2a648af97ca73d6c0e3b1608 (diff)
Provide own header for QLowEnergyControllerPrivate instance on Bluez
This utilizes the new QLowEnergyController interface and separates the existing Bluez implementation more clearly from other platforms. The existing addServiceHelper() class is moved out into the individual backends to avoid compiling the class into the new dbus backend. Change-Id: I1eea99e493958c61cb1fae830c08a3eb26bda9c3 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycharacteristic.h')
-rw-r--r--src/bluetooth/qlowenergycharacteristic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergycharacteristic.h b/src/bluetooth/qlowenergycharacteristic.h
index 97b60bd2..d02e6560 100644
--- a/src/bluetooth/qlowenergycharacteristic.h
+++ b/src/bluetooth/qlowenergycharacteristic.h
@@ -96,8 +96,9 @@ protected:
QSharedPointer<QLowEnergyServicePrivate> d_ptr;
friend class QLowEnergyService;
- friend class QLowEnergyControllerPrivateCommon;
friend class QLowEnergyControllerPrivate;
+ friend class QLowEnergyControllerPrivateBluez;
+ friend class QLowEnergyControllerPrivateCommon;
friend class QLowEnergyControllerPrivateOSX;
QLowEnergyCharacteristicPrivate *data;
QLowEnergyCharacteristic(QSharedPointer<QLowEnergyServicePrivate> p,