Version 0.7-0
[vicar] / src / vicar-telepathy / cpp / connectioninterfacerequestsadaptor.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.7
3  * Command line was: qdbusxml2cpp -i vicar-telepathy/cpp/connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a connectioninterfacerequestsadaptor.h:connectioninterfacerequestsadaptor.cpp data/xml/org.freedesktop.Telepathy.Connection.I.Requests.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2011 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_1318919889
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1318919889
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 "    <property access=\"read\" type=\"a(oa{sv})\" name=\"Channels\">\n"
38 "      <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
39 "    </property>\n"
40 "    <method name=\"CreateChannel\">\n"
41 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
42 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
43 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
44 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
45 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
46 "    </method>\n"
47 "    <method name=\"EnsureChannel\">\n"
48 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
49 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
50 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
51 "      <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
52 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
53 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
54 "    </method>\n"
55 "    <signal name=\"NewChannels\">\n"
56 "      <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
57 "      <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
58 "    </signal>\n"
59 "    <signal name=\"ChannelClosed\">\n"
60 "      <arg type=\"o\" name=\"removed_channel_object\"/>\n"
61 "    </signal>\n"
62 "  </interface>\n"
63         "")
64 public:
65     ConnectionInterfaceRequestsAdaptor(QObject *parent);
66     virtual ~ConnectionInterfaceRequestsAdaptor();
67
68 public: // PROPERTIES
69     Q_PROPERTY(org::freedesktop::Telepathy::ChannelDetailsList Channels READ channels)
70     org::freedesktop::Telepathy::ChannelDetailsList channels() const;
71
72     Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
73     org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
74
75 public Q_SLOTS: // METHODS
76     QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
77     bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
78 Q_SIGNALS: // SIGNALS
79     void ChannelClosed(const QDBusObjectPath &removed_channel_object);
80     void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);
81 };
82
83 #endif