1 | /* |
2 | * This file was generated by qdbusxml2cpp version 0.8 |
3 | * Command line was: qdbusxml2cpp -v org.neard.Manager.xml -p manager_p -v |
4 | * |
5 | * qdbusxml2cpp is Copyright (C) 2015 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 MANAGER_P_H_1410442485 |
12 | #define MANAGER_P_H_1410442485 |
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.neard.Manager |
25 | */ |
26 | class OrgNeardManagerInterface: public QDBusAbstractInterface |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | static inline const char *staticInterfaceName() |
31 | { return "org.neard.Manager" ; } |
32 | |
33 | public: |
34 | OrgNeardManagerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); |
35 | |
36 | ~OrgNeardManagerInterface(); |
37 | |
38 | public Q_SLOTS: // METHODS |
39 | inline QDBusPendingReply<QVariantMap> GetProperties() |
40 | { |
41 | QList<QVariant> argumentList; |
42 | return asyncCallWithArgumentList(QStringLiteral("GetProperties" ), args: argumentList); |
43 | } |
44 | |
45 | inline QDBusPendingReply<> RegisterHandoverAgent(const QDBusObjectPath &path) |
46 | { |
47 | QList<QVariant> argumentList; |
48 | argumentList << QVariant::fromValue(value: path); |
49 | return asyncCallWithArgumentList(QStringLiteral("RegisterHandoverAgent" ), args: argumentList); |
50 | } |
51 | |
52 | inline QDBusPendingReply<> RegisterNDEFAgent(const QDBusObjectPath &path, const QString &type) |
53 | { |
54 | QList<QVariant> argumentList; |
55 | argumentList << QVariant::fromValue(value: path) << QVariant::fromValue(value: type); |
56 | return asyncCallWithArgumentList(QStringLiteral("RegisterNDEFAgent" ), args: argumentList); |
57 | } |
58 | |
59 | inline QDBusPendingReply<> SetProperty(const QString &name, const QDBusVariant &value) |
60 | { |
61 | QList<QVariant> argumentList; |
62 | argumentList << QVariant::fromValue(value: name) << QVariant::fromValue(value); |
63 | return asyncCallWithArgumentList(QStringLiteral("SetProperty" ), args: argumentList); |
64 | } |
65 | |
66 | inline QDBusPendingReply<> UnregisterHandoverAgent(const QDBusObjectPath &path) |
67 | { |
68 | QList<QVariant> argumentList; |
69 | argumentList << QVariant::fromValue(value: path); |
70 | return asyncCallWithArgumentList(QStringLiteral("UnregisterHandoverAgent" ), args: argumentList); |
71 | } |
72 | |
73 | inline QDBusPendingReply<> UnregisterNDEFAgent(const QDBusObjectPath &path, const QString &type) |
74 | { |
75 | QList<QVariant> argumentList; |
76 | argumentList << QVariant::fromValue(value: path) << QVariant::fromValue(value: type); |
77 | return asyncCallWithArgumentList(QStringLiteral("UnregisterNDEFAgent" ), args: argumentList); |
78 | } |
79 | |
80 | Q_SIGNALS: // SIGNALS |
81 | void AdapterAdded(const QDBusObjectPath &adapter); |
82 | void AdapterRemoved(const QDBusObjectPath &adapter); |
83 | void PropertyChanged(const QString &name, const QDBusVariant &value); |
84 | }; |
85 | |
86 | namespace org { |
87 | namespace neard { |
88 | typedef ::OrgNeardManagerInterface Manager; |
89 | } |
90 | } |
91 | #endif |
92 | |