| 1 | /* |
| 2 | * BluezQt - Asynchronous Bluez wrapper library |
| 3 | * |
| 4 | * SPDX-FileCopyrightText: 2022 Pontus Sjögren |
| 5 | * |
| 6 | * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
| 7 | */ |
| 8 | |
| 9 | #ifndef GATTDESCRIPTOR_P_H |
| 10 | #define GATTDESCRIPTOR_P_H |
| 11 | |
| 12 | #include <QString> |
| 13 | |
| 14 | #include <QDBusObjectPath> |
| 15 | |
| 16 | namespace BluezQt |
| 17 | { |
| 18 | |
| 19 | class GattCharacteristic; |
| 20 | |
| 21 | class GattDescriptorPrivate |
| 22 | { |
| 23 | public: |
| 24 | GattDescriptorPrivate(const QString &uuid, const QStringList &flags, const QByteArray &initialValue, const GattCharacteristic *characteristic); |
| 25 | |
| 26 | QString m_uuid; |
| 27 | const GattCharacteristic *m_characteristic; |
| 28 | QDBusObjectPath m_objectPath; |
| 29 | QByteArray m_value; |
| 30 | QStringList m_flags; |
| 31 | }; |
| 32 | |
| 33 | } |
| 34 | |
| 35 | #endif |
| 36 | |