summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceprivate_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-10-24 16:46:03 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-11-03 13:08:45 +0000
commit59ae3cc2ac7baee7e9df1e6ceffcfc882fbe6121 (patch)
tree1c267a06201507d10dd4571942089b56c2d617f5 /src/bluetooth/qlowenergyserviceprivate_p.h
parent4ab8bd20b590f96763dd93f4436327042fbd27da (diff)
Introduce Base class for QLowEnergyControllerPrivate
This permits alternative implementations selectable at runtime. Currently this is only used by Bluez. Change-Id: I3ddeb7f888f3b09bdc62f10d5b9a36320500f329 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceprivate_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceprivate_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergyserviceprivate_p.h b/src/bluetooth/qlowenergyserviceprivate_p.h
index 7727b583..3a0edd8a 100644
--- a/src/bluetooth/qlowenergyserviceprivate_p.h
+++ b/src/bluetooth/qlowenergyserviceprivate_p.h
@@ -63,7 +63,7 @@
QT_BEGIN_NAMESPACE
-class QLowEnergyControllerPrivate;
+class QLowEnergyControllerPrivateBase;
class QLowEnergyServicePrivate : public QObject
{
@@ -92,7 +92,7 @@ public:
Characteristic = 0x2803
};
- void setController(QLowEnergyControllerPrivate* control);
+ void setController(QLowEnergyControllerPrivateBase* control);
void setError(QLowEnergyService::ServiceError newError);
void setState(QLowEnergyService::ServiceState newState);
@@ -122,7 +122,7 @@ public:
QHash<QLowEnergyHandle, CharData> characteristicList;
- QPointer<QLowEnergyControllerPrivate> controller;
+ QPointer<QLowEnergyControllerPrivateBase> controller;
#if defined(QT_ANDROID_BLUETOOTH)
// reference to the BluetoothGattService object