Initial Import
[profile/ivi/bluetooth-qt.git] / bluetooth-qt / obex / obexagent.cpp
1 /*
2  * This file was generated by qdbusxml2cpp version 0.7
3  * Command line was: qdbusxml2cpp -c ObexAgentAdaptor -a obexagent.h:obexagent.cpp agent.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
6  *
7  * This is an auto-generated file.
8  * Do not edit! All changes made to it will be lost.
9  */
10
11 #include "obexagent.h"
12 #include <QtCore/QMetaObject>
13 #include <QtCore/QByteArray>
14 #include <QtCore/QList>
15 #include <QtCore/QMap>
16 #include <QtCore/QString>
17 #include <QtCore/QStringList>
18 #include <QtCore/QVariant>
19
20 /*
21  * Implementation of adaptor class ObexAgentAdaptor
22  */
23
24 ObexAgentAdaptor::ObexAgentAdaptor(QObject *parent)
25     : QDBusAbstractAdaptor(parent)
26 {
27     // constructor
28     setAutoRelaySignals(true);
29 }
30
31 ObexAgentAdaptor::~ObexAgentAdaptor()
32 {
33     // destructor
34 }
35
36 void ObexAgentAdaptor::Complete(const QDBusObjectPath &path)
37 {
38     // handle method call org.openobex.Agent.Complete
39     QMetaObject::invokeMethod(parent(), "Complete", Q_ARG(QDBusObjectPath, path));
40 }
41
42 void ObexAgentAdaptor::Error(const QDBusObjectPath &path, const QString &error)
43 {
44     // handle method call org.openobex.Agent.Error
45     QMetaObject::invokeMethod(parent(), "Error", Q_ARG(QDBusObjectPath, path), Q_ARG(QString, error));
46 }
47
48 void ObexAgentAdaptor::Progress(const QDBusObjectPath &path, qulonglong transferred)
49 {
50     // handle method call org.openobex.Agent.Progress
51     QMetaObject::invokeMethod(parent(), "Progress", Q_ARG(QDBusObjectPath, path), Q_ARG(qulonglong, transferred));
52 }
53
54 void ObexAgentAdaptor::Release()
55 {
56     // handle method call org.openobex.Agent.Release
57     QMetaObject::invokeMethod(parent(), "Release");
58 }
59