1 | /* |
---|---|
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -I QtCore/private/qglobal_p.h -p gattchar1_p.h:gattchar1.cpp org.bluez.GattCharacteristic1.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 GATTCHAR1_P_H |
12 | #define GATTCHAR1_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.GattCharacteristic1 |
37 | */ |
38 | class OrgBluezGattCharacteristic1Interface: public QDBusAbstractInterface |
39 | { |
40 | Q_OBJECT |
41 | public: |
42 | static inline const char *staticInterfaceName() |
43 | { return "org.bluez.GattCharacteristic1"; } |
44 | |
45 | public: |
46 | OrgBluezGattCharacteristic1Interface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); |
47 | |
48 | ~OrgBluezGattCharacteristic1Interface(); |
49 | |
50 | Q_PROPERTY(QStringList Flags READ flags) |
51 | inline QStringList flags() const |
52 | { return qvariant_cast< QStringList >(v: property(name: "Flags")); } |
53 | |
54 | Q_PROPERTY(bool Notifying READ notifying) |
55 | inline bool notifying() const |
56 | { return qvariant_cast< bool >(v: property(name: "Notifying")); } |
57 | |
58 | Q_PROPERTY(QDBusObjectPath Service READ service) |
59 | inline QDBusObjectPath service() const |
60 | { return qvariant_cast< QDBusObjectPath >(v: property(name: "Service")); } |
61 | |
62 | Q_PROPERTY(QString UUID READ uUID) |
63 | inline QString uUID() const |
64 | { return qvariant_cast< QString >(v: property(name: "UUID")); } |
65 | |
66 | Q_PROPERTY(QByteArray Value READ value) |
67 | inline QByteArray value() const |
68 | { return qvariant_cast< QByteArray >(v: property(name: "Value")); } |
69 | |
70 | public Q_SLOTS: // METHODS |
71 | inline QDBusPendingReply<QByteArray> ReadValue(const QVariantMap &options) |
72 | { |
73 | QList<QVariant> argumentList; |
74 | argumentList << QVariant::fromValue(value: options); |
75 | return asyncCallWithArgumentList(QStringLiteral("ReadValue"), args: argumentList); |
76 | } |
77 | |
78 | inline QDBusPendingReply<> StartNotify() |
79 | { |
80 | QList<QVariant> argumentList; |
81 | return asyncCallWithArgumentList(QStringLiteral("StartNotify"), args: argumentList); |
82 | } |
83 | |
84 | inline QDBusPendingReply<> StopNotify() |
85 | { |
86 | QList<QVariant> argumentList; |
87 | return asyncCallWithArgumentList(QStringLiteral("StopNotify"), args: argumentList); |
88 | } |
89 | |
90 | inline QDBusPendingReply<> WriteValue(const QByteArray &value, const QVariantMap &options) |
91 | { |
92 | QList<QVariant> argumentList; |
93 | argumentList << QVariant::fromValue(value) << QVariant::fromValue(value: options); |
94 | return asyncCallWithArgumentList(QStringLiteral("WriteValue"), args: argumentList); |
95 | } |
96 | |
97 | Q_SIGNALS: // SIGNALS |
98 | }; |
99 | |
100 | namespace org { |
101 | namespace bluez { |
102 | using GattCharacteristic1 = ::OrgBluezGattCharacteristic1Interface; |
103 | } |
104 | } |
105 | #endif |
106 |