| 1 | /* | 
|---|---|
| 2 | * This file was generated by qdbusxml2cpp version 0.8 | 
| 3 | * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p gattdesc1_p.h:gattdesc1.cpp org.bluez.GattDescriptor1.xml | 
| 4 | * | 
| 5 | * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd. | 
| 6 | * | 
| 7 | * This is an auto-generated file. | 
| 8 | * Do not edit! All changes made to it will be lost. | 
| 9 | */ | 
| 10 | |
| 11 | #ifndef GATTDESC1_P_H | 
| 12 | #define GATTDESC1_P_H | 
| 13 | |
| 14 | // | 
| 15 | // W A R N I N G | 
| 16 | // ------------- | 
| 17 | // | 
| 18 | // This file is not part of the Qt API. It exists purely as an | 
| 19 | // implementation detail. This header file may change from version to | 
| 20 | // version without notice, or even be removed. | 
| 21 | // | 
| 22 | // We mean it. | 
| 23 | // | 
| 24 | |
| 25 | #include <QtCore/QObject> | 
| 26 | #include <QtCore/QByteArray> | 
| 27 | #include <QtCore/QList> | 
| 28 | #include <QtCore/QMap> | 
| 29 | #include <QtCore/QString> | 
| 30 | #include <QtCore/QStringList> | 
| 31 | #include <QtCore/QVariant> | 
| 32 | #include <QtDBus/QtDBus> | 
| 33 | #include <QtCore/private/qglobal_p.h> | 
| 34 | |
| 35 | /* | 
| 36 | * Proxy class for interface org.bluez.GattDescriptor1 | 
| 37 | */ | 
| 38 | class OrgBluezGattDescriptor1Interface: public QDBusAbstractInterface | 
| 39 | { | 
| 40 | Q_OBJECT | 
| 41 | public: | 
| 42 | static inline const char *staticInterfaceName() | 
| 43 |     { return "org.bluez.GattDescriptor1"; }  | 
| 44 | |
| 45 | public: | 
| 46 | OrgBluezGattDescriptor1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); | 
| 47 | |
| 48 | ~OrgBluezGattDescriptor1Interface(); | 
| 49 | |
| 50 | Q_PROPERTY(QDBusObjectPath Characteristic READ characteristic) | 
| 51 | inline QDBusObjectPath characteristic() const | 
| 52 |     { return qvariant_cast< QDBusObjectPath >(v: property(name: "Characteristic")); }  | 
| 53 | |
| 54 | Q_PROPERTY(QString UUID READ uUID) | 
| 55 | inline QString uUID() const | 
| 56 |     { return qvariant_cast< QString >(v: property(name: "UUID")); }  | 
| 57 | |
| 58 | Q_PROPERTY(QByteArray Value READ value) | 
| 59 | inline QByteArray value() const | 
| 60 |     { return qvariant_cast< QByteArray >(v: property(name: "Value")); }  | 
| 61 | |
| 62 | public Q_SLOTS: // METHODS | 
| 63 | inline QDBusPendingReply<QByteArray> ReadValue(const QVariantMap &options) | 
| 64 | { | 
| 65 | QList<QVariant> argumentList; | 
| 66 | argumentList << QVariant::fromValue(value: options); | 
| 67 |         return asyncCallWithArgumentList(QStringLiteral("ReadValue"), args: argumentList);  | 
| 68 | } | 
| 69 | |
| 70 | inline QDBusPendingReply<> WriteValue(const QByteArray &value, const QVariantMap &options) | 
| 71 | { | 
| 72 | QList<QVariant> argumentList; | 
| 73 | argumentList << QVariant::fromValue(value) << QVariant::fromValue(value: options); | 
| 74 |         return asyncCallWithArgumentList(QStringLiteral("WriteValue"), args: argumentList);  | 
| 75 | } | 
| 76 | |
| 77 | Q_SIGNALS: // SIGNALS | 
| 78 | }; | 
| 79 | |
| 80 | namespace org { | 
| 81 | namespace bluez { | 
| 82 | using GattDescriptor1 = ::OrgBluezGattDescriptor1Interface; | 
| 83 | } | 
| 84 | } | 
| 85 | #endif | 
| 86 | 
