1/*
2 * This file was generated by qdbusxml2cpp version 0.8
3 * Command line was: qdbusxml2cpp -i servicemap_p.h -p device_p.h:device.cpp org.bluez.Device.xml org.bluez.Device
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 DEVICE_P_H
12#define DEVICE_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#include "servicemap_p.h"
23
24/*
25 * Proxy class for interface org.bluez.Device
26 */
27class OrgBluezDeviceInterface: public QDBusAbstractInterface
28{
29 Q_OBJECT
30public:
31 static inline const char *staticInterfaceName()
32 { return "org.bluez.Device"; }
33
34public:
35 OrgBluezDeviceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);
36
37 ~OrgBluezDeviceInterface();
38
39public Q_SLOTS: // METHODS
40 inline QDBusPendingReply<> CancelDiscovery()
41 {
42 QList<QVariant> argumentList;
43 return asyncCallWithArgumentList(QStringLiteral("CancelDiscovery"), argumentList);
44 }
45
46 inline QDBusPendingReply<QDBusObjectPath> CreateNode(const QString &in0)
47 {
48 QList<QVariant> argumentList;
49 argumentList << QVariant::fromValue(in0);
50 return asyncCallWithArgumentList(QStringLiteral("CreateNode"), argumentList);
51 }
52
53 inline QDBusPendingReply<> Disconnect()
54 {
55 QList<QVariant> argumentList;
56 return asyncCallWithArgumentList(QStringLiteral("Disconnect"), argumentList);
57 }
58
59 inline QDBusPendingReply<ServiceMap> DiscoverServices(const QString &in0)
60 {
61 QList<QVariant> argumentList;
62 argumentList << QVariant::fromValue(in0);
63 return asyncCallWithArgumentList(QStringLiteral("DiscoverServices"), argumentList);
64 }
65
66 inline QDBusPendingReply<QVariantMap> GetProperties()
67 {
68 QList<QVariant> argumentList;
69 return asyncCallWithArgumentList(QStringLiteral("GetProperties"), argumentList);
70 }
71
72 inline QDBusPendingReply<QList<QDBusObjectPath> > ListNodes()
73 {
74 QList<QVariant> argumentList;
75 return asyncCallWithArgumentList(QStringLiteral("ListNodes"), argumentList);
76 }
77
78 inline QDBusPendingReply<> RemoveNode(const QDBusObjectPath &in0)
79 {
80 QList<QVariant> argumentList;
81 argumentList << QVariant::fromValue(in0);
82 return asyncCallWithArgumentList(QStringLiteral("RemoveNode"), argumentList);
83 }
84
85 inline QDBusPendingReply<> SetProperty(const QString &in0, const QDBusVariant &in1)
86 {
87 QList<QVariant> argumentList;
88 argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
89 return asyncCallWithArgumentList(QStringLiteral("SetProperty"), argumentList);
90 }
91
92Q_SIGNALS: // SIGNALS
93 void DisconnectRequested();
94 void NodeCreated(const QDBusObjectPath &in0);
95 void NodeRemoved(const QDBusObjectPath &in0);
96 void PropertyChanged(const QString &in0, const QDBusVariant &in1);
97};
98
99namespace org {
100 namespace bluez {
101 typedef ::OrgBluezDeviceInterface Device;
102 }
103}
104#endif
105