1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -a gattdescriptor1adaptor_p.h:gattdescriptor1adaptor.cpp -c OrgBluezGattDescriptor1Adaptor -i bluez5_helper_p.h org.bluez.GattDescriptor1.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 GATTDESCRIPTOR1ADAPTOR_P_H
13#define GATTDESCRIPTOR1ADAPTOR_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.GattDescriptor1
33 */
34class OrgBluezGattDescriptor1Adaptor: public QDBusAbstractAdaptor
35{
36 Q_OBJECT
37 Q_CLASSINFO("D-Bus Interface", "org.bluez.GattDescriptor1")
38 Q_CLASSINFO("D-Bus Introspection", ""
39" <interface name=\"org.bluez.GattDescriptor1\">\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" <property access=\"read\" type=\"s\" name=\"UUID\"/>\n"
51" <property access=\"read\" type=\"o\" name=\"Characteristic\"/>\n"
52" <property access=\"read\" type=\"ay\" name=\"Value\"/>\n"
53" </interface>\n"
54 "")
55public:
56 OrgBluezGattDescriptor1Adaptor(QObject *parent);
57 virtual ~OrgBluezGattDescriptor1Adaptor();
58
59public: // PROPERTIES
60 Q_PROPERTY(QDBusObjectPath Characteristic READ characteristic)
61 QDBusObjectPath characteristic() const;
62
63 Q_PROPERTY(QString UUID READ uUID)
64 QString uUID() const;
65
66 Q_PROPERTY(QByteArray Value READ value)
67 QByteArray value() const;
68
69public Q_SLOTS: // METHODS
70 QByteArray ReadValue(const QVariantMap &options, const QDBusMessage &msg);
71 void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage& msg);
72Q_SIGNALS: // SIGNALS
73};
74
75#endif
76

source code of qtconnectivity/src/bluetooth/bluez/gattdescriptor1adaptor_p.h