/*
 * This file was generated by dbusxml2cpp version 0.6
 * Command line was: dbusxml2cpp -i QtTelepathy/Common/BaseTypes -i QtTelepathy/Common/ChannelTextTypes -a include/QtTelepathy/Core/channeltypetextadaptor.h: xml/tp-chan-type-text.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 CHANNELTYPETEXTADAPTOR_H_1172489891
#define CHANNELTYPETEXTADAPTOR_H_1172489891

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "QtTelepathy/Common/BaseTypes"
#include "QtTelepathy/Common/ChannelTextTypes"
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.Channel.Type.Text
 */
class TextAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.Text")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.freedesktop.Telepathy.Channel.Type.Text\" >\n"
"    <method name=\"AcknowledgePendingMessages\" >\n"
"      <annotation value=\"QList&lt;uint>\" name=\"com.trolltech.QtDBus.QtTypeName.In0\" />\n"
"      <arg direction=\"in\" type=\"au\" name=\"ids\" />\n"
"    </method>\n"
"    <method name=\"GetMessageTypes\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::TextMessageTypeList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\" />\n"
"      <arg direction=\"out\" type=\"au\" />\n"
"    </method>\n"
"    <method name=\"ListPendingMessages\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::TextMessageInfoList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\" />\n"
"      <arg direction=\"in\" type=\"b\" name=\"clear\" />\n"
"      <arg direction=\"out\" type=\"a(uuuuus)\" />\n"
"    </method>\n"
"    <method name=\"Send\" >\n"
"      <arg direction=\"in\" type=\"u\" name=\"type\" />\n"
"      <arg direction=\"in\" type=\"s\" name=\"text\" />\n"
"    </method>\n"
"    <signal name=\"LostMessage\" />\n"
"    <signal name=\"Received\" >\n"
"      <arg type=\"u\" name=\"id\" />\n"
"      <arg type=\"u\" name=\"timestamp\" />\n"
"      <arg type=\"u\" name=\"sender\" />\n"
"      <arg type=\"u\" name=\"type\" />\n"
"      <arg type=\"u\" name=\"flags\" />\n"
"      <arg type=\"s\" name=\"text\" />\n"
"    </signal>\n"
"    <signal name=\"SendError\" >\n"
"      <arg type=\"u\" name=\"error\" />\n"
"      <arg type=\"u\" name=\"timestamp\" />\n"
"      <arg type=\"u\" name=\"type\" />\n"
"      <arg type=\"s\" name=\"text\" />\n"
"    </signal>\n"
"    <signal name=\"Sent\" >\n"
"      <arg type=\"u\" name=\"timestamp\" />\n"
"      <arg type=\"u\" name=\"type\" />\n"
"      <arg type=\"s\" name=\"text\" />\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    TextAdaptor(QObject *parent);
    virtual ~TextAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void AcknowledgePendingMessages(const QList<uint> &ids);
    org::freedesktop::Telepathy::TextMessageTypeList GetMessageTypes();
    org::freedesktop::Telepathy::TextMessageInfoList ListPendingMessages(bool clear);
    void Send(uint type, const QString &text);
Q_SIGNALS: // SIGNALS
    void LostMessage();
    void Received(uint id, uint timestamp, uint sender, uint type, uint flags, const QString &text);
    void SendError(uint error, uint timestamp, uint type, const QString &text);
    void Sent(uint timestamp, uint type, const QString &text);
};

#endif
