/*
 * This file was generated by dbusxml2cpp version 0.6
 * Command line was: dbusxml2cpp -i QtTelepathy/Common/BaseTypes -i QtTelepathy/Common/ConnectionPresenceInterfaceTypes -a include/QtTelepathy/Core/connectioninterfacepresenceadaptor.h: xml/tp-conn-iface-presence.xml
 *
 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef CONNECTIONINTERFACEPRESENCEADAPTOR_H_1172489892
#define CONNECTIONINTERFACEPRESENCEADAPTOR_H_1172489892

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "QtTelepathy/Common/BaseTypes"
#include "QtTelepathy/Common/ConnectionPresenceInterfaceTypes"
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.Interface.Presence
 */
class PresenceAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Connection.Interface.Presence")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.freedesktop.Telepathy.Connection.Interface.Presence\" >\n"
"    <method name=\"AddStatus\" >\n"
"      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\" />\n"
"      <arg direction=\"in\" type=\"s\" name=\"status\" />\n"
"      <arg direction=\"in\" type=\"a{sv}\" name=\"parms\" />\n"
"    </method>\n"
"    <method name=\"ClearStatus\" />\n"
"    <method name=\"GetStatuses\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::PresenceStateDefinitionMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\" />\n"
"      <arg direction=\"out\" type=\"a{s(ubba{ss})}\" />\n"
"    </method>\n"
"    <method name=\"RemoveStatus\" >\n"
"      <arg direction=\"in\" type=\"s\" name=\"status\" />\n"
"    </method>\n"
"    <method name=\"RequestPresence\" >\n"
"      <annotation value=\"QList&lt;uint>\" name=\"com.trolltech.QtDBus.QtTypeName.In0\" />\n"
"      <arg direction=\"in\" type=\"au\" name=\"contacts\" />\n"
"    </method>\n"
"    <method name=\"SetLastActivityTime\" >\n"
"      <arg direction=\"in\" type=\"u\" name=\"time\" />\n"
"    </method>\n"
"    <method name=\"SetStatus\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::PresenceState\" name=\"com.trolltech.QtDBus.QtTypeName.In0\" />\n"
"      <arg direction=\"in\" type=\"a{sa{sv}}\" name=\"statuses\" />\n"
"    </method>\n"
"    <signal name=\"PresenceUpdate\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::PresenceStateInTimeMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\" />\n"
"      <arg type=\"a{u(ua{sa{sv}})}\" name=\"presence\" />\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    PresenceAdaptor(QObject *parent);
    virtual ~PresenceAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void AddStatus(const QString &status, const QVariantMap &parms);
    void ClearStatus();
    org::freedesktop::Telepathy::PresenceStateDefinitionMap GetStatuses();
    void RemoveStatus(const QString &status);
    void RequestPresence(const QList<uint> &contacts);
    void SetLastActivityTime(uint time);
    void SetStatus(org::freedesktop::Telepathy::PresenceState statuses);
Q_SIGNALS: // SIGNALS
    void PresenceUpdate(org::freedesktop::Telepathy::PresenceStateInTimeMap presence);
};

#endif
