Release version 0.6-2
[vicar] / src / vicar-telepathy / src / connectioninterfacerequestsadaptor.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.7
3  * Command line was: qdbusxml2cpp -i connectioninterfacerequeststypes.h -c ConnectionInterfaceRequestsAdaptor -a src/connectioninterfacerequestsadaptor.h:src/connectioninterfacerequestsadaptor.cpp data/Conn.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_1280083803
13 #define CONNECTIONINTERFACEREQUESTSADAPTOR_H_1280083803
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 //class org::freedesktop::Telepathy::RequestableChannelClass;
25 //class org::freedesktop::Telepathy::RequestableChannelClassList;
26
27 /*
28  * Adaptor class for interface org.freedesktop.Telepathy.Connection.Interface.Requests
29  */
30 class ConnectionInterfaceRequestsAdaptor: public QDBusAbstractAdaptor
31 {
32     Q_OBJECT
33     Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Requests")
34     Q_CLASSINFO("D-Bus Introspection", ""
35                 "  <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Requests\">\n"
36                 "    <property access=\"read\" type=\"(a{sv}as)\" name=\"RequestableChannelClasses\">\n"
37                 "      <annotation value=\"org::freedesktop::Telepathy::RequestableChannelClassList\" name=\"com.trolltech.QtDBus.QtTypeName\"/>\n"
38                 "    </property>\n"
39                 "    <method name=\"CreateChannel\">\n"
40                 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
41                 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\"/>\n"
42                 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
43                 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
44                 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
45                 "    </method>\n"
46                 "    <method name=\"EnsureChannel\">\n"
47                 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
48                 "      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out2\"/>\n"
49                 "      <arg direction=\"in\" type=\"a{sv}\" name=\"request\"/>\n"
50                 "      <arg direction=\"out\" type=\"b\" name=\"yours\"/>\n"
51                 "      <arg direction=\"out\" type=\"o\" name=\"channel_object\"/>\n"
52                 "      <arg direction=\"out\" type=\"a{sv}\" name=\"channel_properties\"/>\n"
53                 "    </method>\n"
54                 "    <signal name=\"NewChannels\">\n"
55                 "      <annotation value=\"org::freedesktop::Telepathy::ChannelDetailsList\" name=\"com.trolltech.QtDBus.QtTypeName.In0\"/>\n"
56                 "      <arg type=\"a(oa{sv})\" name=\"new_channels\"/>\n"
57                 "    </signal>\n"
58                 "    <signal name=\"ChannelClosed\">\n"
59                 "      <arg type=\"o\" name=\"removed_channel_object\"/>\n"
60                 "    </signal>\n"
61                 "  </interface>\n"
62                         "")
63 public:
64     ConnectionInterfaceRequestsAdaptor(QObject *parent);
65     virtual ~ConnectionInterfaceRequestsAdaptor();
66
67 public: // PROPERTIES    
68     Q_PROPERTY(org::freedesktop::Telepathy::RequestableChannelClassList RequestableChannelClasses READ requestableChannelClasses)
69     org::freedesktop::Telepathy::RequestableChannelClassList requestableChannelClasses() const;
70
71 public Q_SLOTS: // METHODS
72     QDBusObjectPath CreateChannel(const QVariantMap &request, QVariantMap &channel_properties);
73     bool EnsureChannel(const QVariantMap &request, QDBusObjectPath &channel_object, QVariantMap &channel_properties);
74 Q_SIGNALS: // SIGNALS
75     void ChannelClosed(const QDBusObjectPath &removed_channel_object);
76     void NewChannels(org::freedesktop::Telepathy::ChannelDetailsList new_channels);
77 };
78
79 #endif