-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathadaptor.cpp
More file actions
93 lines (79 loc) · 2.78 KB
/
Copy pathadaptor.cpp
File metadata and controls
93 lines (79 loc) · 2.78 KB
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
82
83
84
85
86
87
88
89
90
91
92
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp org.bluez.Agent1.xml -a adaptor
*
* qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
#include "adaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
/*
* Implementation of adaptor class Agent1Adaptor
*/
Agent1Adaptor::Agent1Adaptor(QObject *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}
Agent1Adaptor::~Agent1Adaptor()
{
// destructor
}
void Agent1Adaptor::AuthorizeService(const QDBusObjectPath &in0, const QString &in1)
{
// handle method call org.bluez.Agent1.AuthorizeService
QMetaObject::invokeMethod(parent(), "AuthorizeService", Q_ARG(QDBusObjectPath, in0), Q_ARG(QString, in1));
}
void Agent1Adaptor::Cancel()
{
// handle method call org.bluez.Agent1.Cancel
QMetaObject::invokeMethod(parent(), "Cancel");
}
void Agent1Adaptor::DisplayPasskey(const QDBusObjectPath &in0, uint in1, ushort in2)
{
// handle method call org.bluez.Agent1.DisplayPasskey
QMetaObject::invokeMethod(parent(), "DisplayPasskey", Q_ARG(QDBusObjectPath, in0), Q_ARG(uint, in1), Q_ARG(ushort, in2));
}
void Agent1Adaptor::DisplayPinCode(const QDBusObjectPath &in0, const QString &in1)
{
// handle method call org.bluez.Agent1.DisplayPinCode
QMetaObject::invokeMethod(parent(), "DisplayPinCode", Q_ARG(QDBusObjectPath, in0), Q_ARG(QString, in1));
}
void Agent1Adaptor::Release()
{
// handle method call org.bluez.Agent1.Release
QMetaObject::invokeMethod(parent(), "Release");
}
void Agent1Adaptor::RequestAuthorization(const QDBusObjectPath &in0)
{
// handle method call org.bluez.Agent1.RequestAuthorization
QMetaObject::invokeMethod(parent(), "RequestAuthorization", Q_ARG(QDBusObjectPath, in0));
}
void Agent1Adaptor::RequestConfirmation(const QDBusObjectPath &in0, uint in1)
{
// handle method call org.bluez.Agent1.RequestConfirmation
QMetaObject::invokeMethod(parent(), "RequestConfirmation", Q_ARG(QDBusObjectPath, in0), Q_ARG(uint, in1));
}
uint Agent1Adaptor::RequestPasskey(const QDBusObjectPath &in0)
{
// handle method call org.bluez.Agent1.RequestPasskey
uint out0;
QMetaObject::invokeMethod(parent(), "RequestPasskey", Q_RETURN_ARG(uint, out0), Q_ARG(QDBusObjectPath, in0));
return out0;
}
QString Agent1Adaptor::RequestPinCode(const QDBusObjectPath &in0)
{
// handle method call org.bluez.Agent1.RequestPinCode
QString out0;
QMetaObject::invokeMethod(parent(), "RequestPinCode", Q_RETURN_ARG(QString, out0), Q_ARG(QDBusObjectPath, in0));
return out0;
}