diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-10-24 16:46:03 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-11-03 13:08:45 +0000 |
commit | 59ae3cc2ac7baee7e9df1e6ceffcfc882fbe6121 (patch) | |
tree | 1c267a06201507d10dd4571942089b56c2d617f5 /src/bluetooth/qlowenergycontroller.h | |
parent | 4ab8bd20b590f96763dd93f4436327042fbd27da (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/qlowenergycontroller.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h index f9e6ef5d..782d042a 100644 --- a/src/bluetooth/qlowenergycontroller.h +++ b/src/bluetooth/qlowenergycontroller.h @@ -51,7 +51,7 @@ QT_BEGIN_NAMESPACE class QLowEnergyAdvertisingParameters; class QLowEnergyConnectionParameters; -class QLowEnergyControllerPrivate; +class QLowEnergyControllerPrivateBase; class QLowEnergyServiceData; class Q_BLUETOOTH_EXPORT QLowEnergyController : public QObject @@ -152,7 +152,7 @@ private: explicit QLowEnergyController(QObject *parent = nullptr); // For the peripheral role. Q_DECLARE_PRIVATE(QLowEnergyController) - QLowEnergyControllerPrivate *d_ptr; + QLowEnergyControllerPrivateBase *d_ptr; }; QT_END_NAMESPACE |