diff options
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_bluezdbus_p.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_bluezdbus_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_bluezdbus_p.h b/src/bluetooth/qlowenergycontroller_bluezdbus_p.h index 4c0f5b74..4c169d0b 100644 --- a/src/bluetooth/qlowenergycontroller_bluezdbus_p.h +++ b/src/bluetooth/qlowenergycontroller_bluezdbus_p.h @@ -58,6 +58,7 @@ #include <QtDBus/QDBusObjectPath> class OrgBluezAdapter1Interface; +class OrgBluezBattery1Interface; class OrgBluezDevice1Interface; class OrgBluezGattCharacteristic1Interface; class OrgBluezGattDescriptor1Interface; @@ -155,6 +156,9 @@ private: { QString servicePath; QVector<GattCharacteristic> characteristics; + + bool hasBatteryService = false; + QSharedPointer<OrgBluezBattery1Interface> batteryInterface; }; QHash<QBluetoothUuid, GattService> dbusServices; @@ -183,6 +187,8 @@ private: bool jobPending = false; void prepareNextJob(); + void discoverBatteryServiceDetails(GattService &dbusData, + QSharedPointer<QLowEnergyServicePrivate> serviceData); }; QT_END_NAMESPACE |