1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -a gattcharacteristic1adaptor_p.h:gattcharacteristic1adaptor.cpp -c OrgBluezGattCharacteristic1Adaptor -i bluez5_helper_p.h org.bluez.GattCharacteristic1.xml |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2022 The Qt Company Ltd. |
6 | * |
7 | * This is an auto-generated file. |
8 | * This file may have been hand-edited. Look for HAND-EDIT comments |
9 | * before re-generating it. |
10 | */ |
11 | |
12 | #ifndef GATTCHARACTERISTIC1ADAPTOR_P_H |
13 | #define GATTCHARACTERISTIC1ADAPTOR_P_H |
14 | |
15 | // |
16 | // W A R N I N G |
17 | // ------------- |
18 | // |
19 | // This file is not part of the Qt API. It exists purely as an |
20 | // implementation detail. This header file may change from version to |
21 | // version without notice, or even be removed. |
22 | // |
23 | // We mean it. |
24 | // |
25 | |
26 | #include <QtCore/QObject> |
27 | #include <QtDBus/QtDBus> |
28 | #include "bluez5_helper_p.h" |
29 | #include <QtCore/qcontainerfwd.h> |
30 | |
31 | /* |
32 | * Adaptor class for interface org.bluez.GattCharacteristic1 |
33 | */ |
34 | class OrgBluezGattCharacteristic1Adaptor: public QDBusAbstractAdaptor |
35 | { |
36 | Q_OBJECT |
37 | Q_CLASSINFO("D-Bus Interface" , "org.bluez.GattCharacteristic1" ) |
38 | Q_CLASSINFO("D-Bus Introspection" , "" |
39 | " <interface name=\"org.bluez.GattCharacteristic1\">\n" |
40 | " <method name=\"ReadValue\">\n" |
41 | " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" |
42 | " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n" |
43 | " <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n" |
44 | " </method>\n" |
45 | " <method name=\"WriteValue\">\n" |
46 | " <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n" |
47 | " <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n" |
48 | " <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n" |
49 | " </method>\n" |
50 | " <method name=\"StartNotify\"/>\n" |
51 | " <method name=\"StopNotify\"/>\n" |
52 | " <property access=\"read\" type=\"s\" name=\"UUID\"/>\n" |
53 | " <property access=\"read\" type=\"o\" name=\"Service\"/>\n" |
54 | " <property access=\"read\" type=\"ay\" name=\"Value\"/>\n" |
55 | " <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n" |
56 | " <property access=\"read\" type=\"as\" name=\"Flags\"/>\n" |
57 | " </interface>\n" |
58 | "" ) |
59 | public: |
60 | OrgBluezGattCharacteristic1Adaptor(QObject *parent); |
61 | virtual ~OrgBluezGattCharacteristic1Adaptor(); |
62 | |
63 | public: // PROPERTIES |
64 | Q_PROPERTY(QStringList Flags READ flags) |
65 | QStringList flags() const; |
66 | |
67 | Q_PROPERTY(bool Notifying READ notifying) |
68 | bool notifying() const; |
69 | |
70 | Q_PROPERTY(QDBusObjectPath Service READ service) |
71 | QDBusObjectPath service() const; |
72 | |
73 | Q_PROPERTY(QString UUID READ uUID) |
74 | QString uUID() const; |
75 | |
76 | Q_PROPERTY(QByteArray Value READ value) |
77 | QByteArray value() const; |
78 | |
79 | public Q_SLOTS: // METHODS |
80 | QByteArray ReadValue(const QVariantMap &options, const QDBusMessage &msg); |
81 | void StartNotify(); |
82 | void StopNotify(); |
83 | void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage& msg); |
84 | Q_SIGNALS: // SIGNALS |
85 | }; |
86 | |
87 | #endif |
88 | |