diff options
Diffstat (limited to 'src/bluetooth/qlowenergyserviceprivate_p.h')
-rw-r--r-- | src/bluetooth/qlowenergyserviceprivate_p.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergyserviceprivate_p.h b/src/bluetooth/qlowenergyserviceprivate_p.h index bde099ba..7727b583 100644 --- a/src/bluetooth/qlowenergyserviceprivate_p.h +++ b/src/bluetooth/qlowenergyserviceprivate_p.h @@ -57,6 +57,10 @@ #include <QtBluetooth/QLowEnergyService> #include <QtBluetooth/QLowEnergyCharacteristic> +#if defined(QT_ANDROID_BLUETOOTH) +#include <QtAndroidExtras/QAndroidJniObject> +#endif + QT_BEGIN_NAMESPACE class QLowEnergyControllerPrivate; @@ -119,6 +123,12 @@ public: QHash<QLowEnergyHandle, CharData> characteristicList; QPointer<QLowEnergyControllerPrivate> controller; + +#if defined(QT_ANDROID_BLUETOOTH) + // reference to the BluetoothGattService object + QAndroidJniObject androidService; +#endif + }; typedef QHash<QLowEnergyHandle, QLowEnergyServicePrivate::CharData> CharacteristicDataMap; |