fb993204e4b7a4e3dd3fd1d33661cd8b0256c83a
[vicar] / src / data / xml / connectioninterfacerequestsadaptor.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.7
3  * Command line was: qdbusxml2cpp -i ../../connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a connectioninterfacerequestsadaptor.h:connectioninterfacerequestsadaptor.cpp org.freedesktop.Telepathy.Connection.I.Requests.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6  *
7  * This is an auto-generated file.
8  * This file may have been hand-edited. Look for HAND-EDIT comments
9  * before re-generating it.
10  */
11
12 #ifndef CONNECTIONINTERFACEREQUESTSADAPTOR_H_1282550631
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1282550631
14
15 #include <QtCore/QObject>
16 #include <QtDBus/QtDBus>
17 #include "../../connectioninterfacerequeststypes.h"
18 class QByteArray;
19 template<class T> class QList;
20 template<class Key, class Value> class QMap;
21 class QString;
22 class QStringList;
23 class QVariant;
24
25 /*
26  * Adaptor class for interface org.freedesktop.Telepathy.Connection.Interface.Requests
27  */
28 class ConnectionInterfaceRequestsAdaptor: public QDBusAbstractAdaptor
29 {
30     Q_OBJECT
31     Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
32     Q_CLASSINFO("D-Bus Introspection", ""
33 "  <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
34 "    <property access=\"read\" type=\"(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
35 "      <annotation value=\"org::freedesktop::Telepathy::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
36 "    </property>\n"
37 "    <method name=\"CreateChannel\">\n"
38 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
39 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
40 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
41 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
42 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
43 "    </method>\n"
44 "    <method name=\"EnsureChannel\">\n"
45 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
46 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
47 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
48 "      <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
49 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
50 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
51 "    </method>\n"
52 "    <signal name=\"NewChannels\">\n"
53 "      <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
54 "      <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
55 "    </signal>\n"
56 "    <signal name=\"ChannelClosed\">\n"
57 "      <arg type=\"o\" name=\"removed_channel_object\"/>\n"
58 "    </signal>\n"
59 "  </interface>\n"
60         "")
61 public:
62     ConnectionInterfaceRequestsAdaptor(QObject *parent);
63     virtual ~ConnectionInterfaceRequestsAdaptor();
64
65 public: // PROPERTIES
66     Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
67     org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
68
69 public Q_SLOTS: // METHODS
70     QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
71     bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
72 Q_SIGNALS: // SIGNALS
73     void ChannelClosed(const QDBusObjectPath &removed_channel_object);
74     void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);
75 };
76
77 #endif