/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp bamf-matcher-glue.xml -p bamf-matcher-proxy
 *
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef BAMF-MATCHER-PROXY_H_1303119813
#define BAMF-MATCHER-PROXY_H_1303119813

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

Q_DECLARE_METATYPE(QList<uint>)

/*
 * Proxy class for interface org.ayatana.bamf.matcher
 */
class OrgAyatanaBamfMatcherInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.ayatana.bamf.matcher"; }

public:
    OrgAyatanaBamfMatcherInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~OrgAyatanaBamfMatcherInterface();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<QString> ActiveApplication()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("ActiveApplication"), argumentList);
    }

    inline QDBusPendingReply<QString> ActiveWindow()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("ActiveWindow"), argumentList);
    }

    inline QDBusPendingReply<QString> ApplicationForXid(uint xid)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(xid);
        return asyncCallWithArgumentList(QLatin1String("ApplicationForXid"), argumentList);
    }

    inline QDBusPendingReply<bool> ApplicationIsRunning(const QString &application)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(application);
        return asyncCallWithArgumentList(QLatin1String("ApplicationIsRunning"), argumentList);
    }

    inline QDBusPendingReply<QStringList> ApplicationPaths()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("ApplicationPaths"), argumentList);
    }

    inline QDBusPendingReply<QString> PathForApplication(const QString &applicaiton)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(applicaiton);
        return asyncCallWithArgumentList(QLatin1String("PathForApplication"), argumentList);
    }

    inline QDBusPendingReply<> RegisterFavorites(const QStringList &favorites)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(favorites);
        return asyncCallWithArgumentList(QLatin1String("RegisterFavorites"), argumentList);
    }

    inline QDBusPendingReply<QStringList> RunningApplications()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("RunningApplications"), argumentList);
    }

    inline QDBusPendingReply<QStringList> TabPaths()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("TabPaths"), argumentList);
    }

    inline QDBusPendingReply<QList<uint> > XidsForApplication(const QString &application)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(application);
        return asyncCallWithArgumentList(QLatin1String("XidsForApplication"), argumentList);
    }

Q_SIGNALS: // SIGNALS
    void ActiveApplicationChanged(const QString &old_active, const QString &new_active);
    void ActiveWindowChanged(const QString &old_active, const QString &new_active);
    void ViewClosed(const QString &path, const QString &type);
    void ViewOpened(const QString &path, const QString &type);
};

namespace org {
  namespace ayatana {
    namespace bamf {
      typedef ::OrgAyatanaBamfMatcherInterface matcher;
    }
  }
}
#endif
