~ubuntuone-hackers/ubuntu-download-manager/vivid

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
/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -c TestingManagerAdaptor -a testing_manager_adaptor.h:testing_manager_adaptor.cpp com.canonical.applications.testing.download_manager.xml
 *
 * qdbusxml2cpp is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef TESTING_MANAGER_ADAPTOR_H_1392305003
#define TESTING_MANAGER_ADAPTOR_H_1392305003

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include <ubuntu/download_manager/metatypes.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 com.canonical.applications.testing.DownloadManager
 */
class TestingManagerAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.canonical.applications.testing.DownloadManager")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"com.canonical.applications.testing.DownloadManager\">\n"
"    <method name=\"returnDBusErrors\">\n"
"      <arg direction=\"in\" type=\"b\" name=\"returnErrors\"/>\n"
"    </method>\n"
"    <method name=\"returnHttpError\">\n"
"      <annotation value=\"HttpErrorStruct\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"download\"/>\n"
"      <arg direction=\"in\" type=\"(is)\" name=\"error\"/>\n"
"    </method>\n"
"    <method name=\"returnNetworkError\">\n"
"      <annotation value=\"NetworkErrorStruct\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"download\"/>\n"
"      <arg direction=\"in\" type=\"(is)\" name=\"error\"/>\n"
"    </method>\n"
"    <method name=\"returnProcessError\">\n"
"      <annotation value=\"ProcessErrorStruct\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"download\"/>\n"
"      <arg direction=\"in\" type=\"(isiss)\" name=\"error\"/>\n"
"    </method>\n"
"    <method name=\"returnAuthError\">\n"
"      <annotation value=\"AuthErrorStruct\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"download\"/>\n"
"      <arg direction=\"in\" type=\"(is)\" name=\"error\"/>\n"
"    </method>\n"
"    <method name=\"returnHashError\">\n"
"      <annotation value=\"HashErrorStruct\" name=\"org.qtproject.QtDBus.QtTypeName.In1\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"download\"/>\n"
"      <arg direction=\"in\" type=\"(sss)\" name=\"error\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    TestingManagerAdaptor(QObject *parent);
    virtual ~TestingManagerAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void returnAuthError(const QString &download, AuthErrorStruct error);
    void returnDBusErrors(bool returnErrors);
    void returnHashError(const QString &download, HashErrorStruct error);
    void returnHttpError(const QString &download, HttpErrorStruct error);
    void returnNetworkError(const QString &download, NetworkErrorStruct error);
    void returnProcessError(const QString &download, ProcessErrorStruct error);
Q_SIGNALS: // SIGNALS
};

#endif