1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Source file was org.bluez.GattCharacteristic1.xml
4 *
5 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
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
31namespace QtBluetoothPrivate {
32
33/*
34 * Adaptor class for interface org.bluez.GattCharacteristic1
35 */
36class OrgBluezGattCharacteristic1Adaptor: public QDBusAbstractAdaptor
37{
38 Q_OBJECT
39 Q_CLASSINFO("D-Bus Interface", "org.bluez.GattCharacteristic1")
40 Q_CLASSINFO("D-Bus Introspection", ""
41" <interface name=\"org.bluez.GattCharacteristic1\">\n"
42" <method name=\"ReadValue\">\n"
43" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
44" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
45" <arg direction=\"out\" type=\"ay\" name=\"value\"/>\n"
46" </method>\n"
47" <method name=\"WriteValue\">\n"
48" <arg direction=\"in\" type=\"ay\" name=\"value\"/>\n"
49" <arg direction=\"in\" type=\"a{sv}\" name=\"options\"/>\n"
50" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
51" </method>\n"
52" <method name=\"StartNotify\"/>\n"
53" <method name=\"StopNotify\"/>\n"
54" <property access=\"read\" type=\"s\" name=\"UUID\"/>\n"
55" <property access=\"read\" type=\"o\" name=\"Service\"/>\n"
56" <property access=\"read\" type=\"ay\" name=\"Value\"/>\n"
57" <property access=\"read\" type=\"b\" name=\"Notifying\"/>\n"
58" <property access=\"read\" type=\"as\" name=\"Flags\"/>\n"
59" </interface>\n"
60 "")
61public:
62 OrgBluezGattCharacteristic1Adaptor(QObject *parent);
63 ~OrgBluezGattCharacteristic1Adaptor() override;
64
65public: // PROPERTIES
66 Q_PROPERTY(QStringList Flags READ flags)
67 QStringList flags() const;
68
69 Q_PROPERTY(bool Notifying READ notifying)
70 bool notifying() const;
71
72 Q_PROPERTY(QDBusObjectPath Service READ service)
73 QDBusObjectPath service() const;
74
75 Q_PROPERTY(QString UUID READ uUID)
76 QString uUID() const;
77
78 Q_PROPERTY(QByteArray Value READ value)
79 QByteArray value() const;
80
81public Q_SLOTS: // METHODS
82 QByteArray ReadValue(const QVariantMap &options, const QDBusMessage &msg);
83 void StartNotify();
84 void StopNotify();
85 void WriteValue(const QByteArray &value, const QVariantMap &options, const QDBusMessage &msg);
86Q_SIGNALS: // SIGNALS
87};
88
89} // end of namespace QtBluetoothPrivate
90
91#endif
92

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