1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -p adapter_p.h:adapter.cpp org.bluez.all.xml org.bluez.Adapter
4 *
5 * qdbusxml2cpp is Copyright (C) 2017 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 ADAPTER_P_H
12#define ADAPTER_P_H
13
14#include <QtCore/QObject>
15#include <QtCore/QByteArray>
16#include <QtCore/QList>
17#include <QtCore/QMap>
18#include <QtCore/QString>
19#include <QtCore/QStringList>
20#include <QtCore/QVariant>
21#include <QtDBus/QtDBus>
22
23/*
24 * Proxy class for interface org.bluez.Adapter
25 */
26class OrgBluezAdapterInterface: public QDBusAbstractInterface
27{
28 Q_OBJECT
29public:
30 static inline const char *staticInterfaceName()
31 { return "org.bluez.Adapter"; }
32
33public:
34 OrgBluezAdapterInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
35
36 ~OrgBluezAdapterInterface();
37
38public Q_SLOTS: // METHODS
39 inline QDBusPendingReply<> CancelDeviceCreation(const QString &in0)
40 {
41 QList<QVariant> argumentList;
42 argumentList << QVariant::fromValue(in0);
43 return asyncCallWithArgumentList(QStringLiteral("CancelDeviceCreation"), argumentList);
44 }
45
46 inline QDBusPendingReply<QDBusObjectPath> CreateDevice(const QString &in0)
47 {
48 QList<QVariant> argumentList;
49 argumentList << QVariant::fromValue(in0);
50 return asyncCallWithArgumentList(QStringLiteral("CreateDevice"), argumentList);
51 }
52
53 inline QDBusPendingReply<QDBusObjectPath> CreatePairedDevice(const QString &in0, const QDBusObjectPath &in1, const QString &in2)
54 {
55 QList<QVariant> argumentList;
56 argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2);
57 return asyncCallWithArgumentList(QStringLiteral("CreatePairedDevice"), argumentList);
58 }
59
60 inline QDBusPendingReply<QDBusObjectPath> FindDevice(const QString &in0)
61 {
62 QList<QVariant> argumentList;
63 argumentList << QVariant::fromValue(in0);
64 return asyncCallWithArgumentList(QStringLiteral("FindDevice"), argumentList);
65 }
66
67 inline QDBusPendingReply<QVariantMap> GetProperties()
68 {
69 QList<QVariant> argumentList;
70 return asyncCallWithArgumentList(QStringLiteral("GetProperties"), argumentList);
71 }
72
73 inline QDBusPendingReply<QList<QDBusObjectPath> > ListDevices()
74 {
75 QList<QVariant> argumentList;
76 return asyncCallWithArgumentList(QStringLiteral("ListDevices"), argumentList);
77 }
78
79 inline QDBusPendingReply<> RegisterAgent(const QDBusObjectPath &in0, const QString &in1)
80 {
81 QList<QVariant> argumentList;
82 argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
83 return asyncCallWithArgumentList(QStringLiteral("RegisterAgent"), argumentList);
84 }
85
86 inline QDBusPendingReply<> ReleaseMode()
87 {
88 QList<QVariant> argumentList;
89 return asyncCallWithArgumentList(QStringLiteral("ReleaseMode"), argumentList);
90 }
91
92 inline QDBusPendingReply<> ReleaseSession()
93 {
94 QList<QVariant> argumentList;
95 return asyncCallWithArgumentList(QStringLiteral("ReleaseSession"), argumentList);
96 }
97
98 inline QDBusPendingReply<> RemoveDevice(const QDBusObjectPath &in0)
99 {
100 QList<QVariant> argumentList;
101 argumentList << QVariant::fromValue(in0);
102 return asyncCallWithArgumentList(QStringLiteral("RemoveDevice"), argumentList);
103 }
104
105 inline QDBusPendingReply<> RequestMode(const QString &in0)
106 {
107 QList<QVariant> argumentList;
108 argumentList << QVariant::fromValue(in0);
109 return asyncCallWithArgumentList(QStringLiteral("RequestMode"), argumentList);
110 }
111
112 inline QDBusPendingReply<> RequestSession()
113 {
114 QList<QVariant> argumentList;
115 return asyncCallWithArgumentList(QStringLiteral("RequestSession"), argumentList);
116 }
117
118 inline QDBusPendingReply<> SetProperty(const QString &in0, const QDBusVariant &in1)
119 {
120 QList<QVariant> argumentList;
121 argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
122 return asyncCallWithArgumentList(QStringLiteral("SetProperty"), argumentList);
123 }
124
125 inline QDBusPendingReply<> StartDiscovery()
126 {
127 QList<QVariant> argumentList;
128 return asyncCallWithArgumentList(QStringLiteral("StartDiscovery"), argumentList);
129 }
130
131 inline QDBusPendingReply<> StopDiscovery()
132 {
133 QList<QVariant> argumentList;
134 return asyncCallWithArgumentList(QStringLiteral("StopDiscovery"), argumentList);
135 }
136
137 inline QDBusPendingReply<> UnregisterAgent(const QDBusObjectPath &in0)
138 {
139 QList<QVariant> argumentList;
140 argumentList << QVariant::fromValue(in0);
141 return asyncCallWithArgumentList(QStringLiteral("UnregisterAgent"), argumentList);
142 }
143
144Q_SIGNALS: // SIGNALS
145 void DeviceCreated(const QDBusObjectPath &in0);
146 void DeviceDisappeared(const QString &in0);
147 void DeviceFound(const QString &in0, const QVariantMap &in1);
148 void DeviceRemoved(const QDBusObjectPath &in0);
149 void PropertyChanged(const QString &in0, const QDBusVariant &in1);
150};
151
152namespace org {
153 namespace bluez {
154 typedef ::OrgBluezAdapterInterface Adapter;
155 }
156}
157#endif
158