--- /dev/null
+/*
+ * This file was generated by qdbusxml2cpp version 0.7
+ * Command line was: qdbusxml2cpp -i vicar-telepathy/cpp/connectiontypes.h -c ConnectionAdaptor -a connectionadaptor.h:connectionadaptor.cpp data/xml/org.freedesktop.Telepathy.Connection.xml
+ *
+ * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation 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 CONNECTIONADAPTOR_H_1318911911
+#define CONNECTIONADAPTOR_H_1318911911
+
+#include <QtCore/QObject>
+#include <QtDBus/QtDBus>
+#include "connectiontypes.h"
+class QByteArray;
+template<class T> class QList;
+template<class Key, class Value> class QMap;
+class QString;
+class QStringList;
+class QVariant;
+
+/*
+ * Adaptor class for interface org.freedesktop.Telepathy.Connection
+ */
+class ConnectionAdaptor: public QDBusAbstractAdaptor
+{
+ Q_OBJECT
+ Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection")
+ Q_CLASSINFO("D-Bus Introspection", ""
+" <interface name=\"org.freedesktop.Telepathy.Connection\">\n"
+" <property access=\"read\" type=\"as\" name=\"Interfaces\"/>\n"
+" <property access=\"read\" type=\"b\" name=\"HasImmortalHandles\"/>\n"
+" <property access=\"read\" type=\"u\" name=\"Status\"/>\n"
+" <property access=\"read\" type=\"u\" name=\"SelfHandle\"/>\n"
+" <method name=\"Connect\"/>\n"
+" <method name=\"Disconnect\"/>\n"
+" <method name=\"GetInterfaces\">\n"
+" <arg direction=\"out\" type=\"as\"/>\n"
+" </method>\n"
+" <method name=\"GetProtocol\">\n"
+" <arg direction=\"out\" type=\"s\"/>\n"
+" </method>\n"
+" <method name=\"GetSelfHandle\">\n"
+" <arg direction=\"out\" type=\"u\"/>\n"
+" </method>\n"
+" <method name=\"GetStatus\">\n"
+" <arg direction=\"out\" type=\"u\"/>\n"
+" </method>\n"
+" <method name=\"HoldHandles\">\n"
+" <annotation value=\"QList<uint>\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle_type\"/>\n"
+" <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
+" </method>\n"
+" <method name=\"InspectHandles\">\n"
+" <annotation value=\"QList<uint>\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle_type\"/>\n"
+" <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
+" <arg direction=\"out\" type=\"as\"/>\n"
+" </method>\n"
+" <method name=\"ListChannels\">\n"
+" <annotation value=\"org::freedesktop::Telepathy::ChannelInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
+" <arg direction=\"out\" type=\"a(osuu)\"/>\n"
+" </method>\n"
+" <method name=\"ReleaseHandles\">\n"
+" <annotation value=\"QList<uint>\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle_type\"/>\n"
+" <arg direction=\"in\" type=\"au\" name=\"handles\"/>\n"
+" </method>\n"
+" <method name=\"RequestChannel\">\n"
+" <arg direction=\"in\" type=\"s\" name=\"type\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle_type\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle\"/>\n"
+" <arg direction=\"in\" type=\"b\" name=\"suppress_handler\"/>\n"
+" <arg direction=\"out\" type=\"o\"/>\n"
+" </method>\n"
+" <method name=\"RequestHandles\">\n"
+" <annotation value=\"QList<uint>\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
+" <arg direction=\"in\" type=\"u\" name=\"handle_type\"/>\n"
+" <arg direction=\"in\" type=\"as\" name=\"names\"/>\n"
+" <arg direction=\"out\" type=\"au\"/>\n"
+" </method>\n"
+" <method name=\"AddClientInterest\">\n"
+" <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
+" </method>\n"
+" <method name=\"RemoveClientInterest\">\n"
+" <arg direction=\"in\" type=\"as\" name=\"tokens\"/>\n"
+" </method>\n"
+" <signal name=\"NewChannel\">\n"
+" <arg type=\"o\" name=\"object_path\"/>\n"
+" <arg type=\"s\" name=\"channel_type\"/>\n"
+" <arg type=\"u\" name=\"handle_type\"/>\n"
+" <arg type=\"u\" name=\"handle\"/>\n"
+" <arg type=\"b\" name=\"suppress_handler\"/>\n"
+" </signal>\n"
+" <signal name=\"StatusChanged\">\n"
+" <arg type=\"u\" name=\"status\"/>\n"
+" <arg type=\"u\" name=\"reason\"/>\n"
+" </signal>\n"
+" <signal name=\"ConnectionError\">\n"
+" <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\"/>\n"
+" <arg type=\"s\" name=\"error\"/>\n"
+" <arg type=\"a{sv}\" name=\"error_details\"/>\n"
+" </signal>\n"
+" <signal name=\"SelfHandleChanged\">\n"
+" <arg type=\"u\"/>\n"
+" </signal>\n"
+" </interface>\n"
+ "")
+public:
+ ConnectionAdaptor(QObject *parent);
+ virtual ~ConnectionAdaptor();
+
+public: // PROPERTIES
+ Q_PROPERTY(bool HasImmortalHandles READ hasImmortalHandles)
+ bool hasImmortalHandles() const;
+
+ Q_PROPERTY(QStringList Interfaces READ interfaces)
+ QStringList interfaces() const;
+
+ Q_PROPERTY(uint SelfHandle READ selfHandle)
+ uint selfHandle() const;
+
+ Q_PROPERTY(uint Status READ status)
+ uint status() const;
+
+public Q_SLOTS: // METHODS
+ void AddClientInterest(const QStringList &tokens);
+ void Connect();
+ void Disconnect();
+ QStringList GetInterfaces();
+ QString GetProtocol();
+ uint GetSelfHandle();
+ uint GetStatus();
+ void HoldHandles(uint handle_type, const QList<uint> &handles);
+ QStringList InspectHandles(uint handle_type, const QList<uint> &handles);
+ org::freedesktop::Telepathy::ChannelInfoList ListChannels();
+ void ReleaseHandles(uint handle_type, const QList<uint> &handles);
+ void RemoveClientInterest(const QStringList &tokens);
+ QDBusObjectPath RequestChannel(const QString &type, uint handle_type, uint handle, bool suppress_handler);
+ QList<uint> RequestHandles(uint handle_type, const QStringList &names);
+Q_SIGNALS: // SIGNALS
+ void ConnectionError(const QString &error, const QVariantMap &error_details);
+ void NewChannel(const QDBusObjectPath &object_path, const QString &channel_type, uint handle_type, uint handle, bool suppress_handler);
+ void SelfHandleChanged(uint in0);
+ void StatusChanged(uint status, uint reason);
+};
+
+#endif