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

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "QtTelepathy/Common/BaseTypes"
#include "QtTelepathy/Common/ChannelContactSearchTypes"
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.ContactSearch
 */
class ContactSearchAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Channel.Type.ContactSearch")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.freedesktop.Telepathy.Channel.Type.ContactSearch\" >\n"
"    <method name=\"GetSearchKeys\" >\n"
"      <annotation value=\"org::freedesktop::Telepathy::ContactSearchTypeInfoMap\" name=\"com.trolltech.QtDBus.QtTypeName.Out1\" />\n"
"      <arg direction=\"out\" type=\"s\" name=\"instructions\" />\n"
"      <arg direction=\"out\" type=\"a{s(bg)}\" name=\"search_keys\" />\n"
"    </method>\n"
"    <method name=\"GetSearchState\" >\n"
"      <arg direction=\"out\" type=\"u\" />\n"
"    </method>\n"
"    <method name=\"Search\" >\n"
"      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In0\" />\n"
"      <arg direction=\"in\" type=\"a{sv}\" name=\"terms\" />\n"
"    </method>\n"
"    <signal name=\"SearchResultReceived\" >\n"
"      <annotation value=\"QVariantMap\" name=\"com.trolltech.QtDBus.QtTypeName.In1\" />\n"
"      <arg type=\"u\" name=\"contact\" />\n"
"      <arg type=\"a{sv}\" name=\"values\" />\n"
"    </signal>\n"
"    <signal name=\"SearchStateChanged\" >\n"
"      <arg type=\"u\" name=\"state\" />\n"
"    </signal>\n"
"  </interface>\n"
        "")
public:
    ContactSearchAdaptor(QObject *parent);
    virtual ~ContactSearchAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    QString GetSearchKeys(org::freedesktop::Telepathy::ContactSearchTypeInfoMap &search_keys);
    uint GetSearchState();
    void Search(const QVariantMap &terms);
Q_SIGNALS: // SIGNALS
    void SearchResultReceived(uint contact, const QVariantMap &values);
    void SearchStateChanged(uint state);
};

#endif
