This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
agentadaptor.h
81 lines (75 loc) · 2.86 KB
/
agentadaptor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
* This file was generated by qdbusxml2cpp version 0.8 and subsequently hand edited
*
* qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
*
*/
#ifndef AGENTADAPTOR_H
#define AGENTADAPTOR_H
#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "agent.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE
/*
* Adaptor class for interface net.connman.Agent
*/
class AgentAdaptor: public QDBusAbstractAdaptor
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "net.connman.Agent")
Q_CLASSINFO("D-Bus Introspection", ""
" <interface name=\"net.connman.Agent\">\n"
" <method name=\"Release\"/>\n"
" <method name=\"Cancel\"/>\n"
" <method name=\"ReportError\">\n"
" <arg direction=\"in\" type=\"o\" name=\"service\"/>\n"
" <arg direction=\"in\" type=\"s\" name=\"error\"/>\n"
" </method>\n"
" <method name=\"ReportPeerError\">\n"
" <arg direction=\"in\" type=\"o\" name=\"peer\"/>\n"
" <arg direction=\"in\" type=\"s\" name=\"error\"/>\n"
" </method>\n"
" <method name=\"RequestBrowser\">\n"
" <arg direction=\"in\" type=\"o\" name=\"service\"/>\n"
" <arg direction=\"in\" type=\"s\" name=\"url\"/>\n"
" </method>\n"
" <method name=\"RequestInput\">\n"
" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n"
" <arg direction=\"in\" type=\"o\" name=\"service\"/>\n"
" <arg direction=\"in\" type=\"a{sv}\" name=\"fields\"/>\n"
" <arg direction=\"out\" type=\"a{sv}\" name=\"answer\"/>\n"
" </method>\n"
" <method name=\"RequestPeerAuthorization\">\n"
" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName.Out0\"/>\n"
" <arg direction=\"in\" type=\"o\" name=\"peer\"/>\n"
" <arg direction=\"in\" type=\"a{sv}\" name=\"fields\"/>\n"
" <arg direction=\"out\" type=\"a{sv}\" name=\"answer\"/>\n"
" </method>\n"
" </interface>\n"
"")
public:
AgentAdaptor(Agent *parent);
virtual ~AgentAdaptor();
inline Agent *parent() const
{ return static_cast<Agent *>(QObject::parent()); }
public: // PROPERTIES
public Q_SLOTS: // METHODS
void Cancel();
void Release();
void ReportError(const QDBusObjectPath &service, const QString &error);
void ReportPeerError(const QDBusObjectPath &peer, const QString &error);
void RequestBrowser(const QDBusObjectPath &service, const QString &url);
QVariantMap RequestInput(const QDBusObjectPath &service, const QVariantMap &fields);
QVariantMap RequestPeerAuthorization(const QDBusObjectPath &peer, const QVariantMap &fields);
Q_SIGNALS: // SIGNALS
};
#endif