/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -p agentserverinterface /usr/src/ports/akonadi/akonadi-1.13.0-5.i686/src/akonadi-1.13.0/interfaces/org.freedesktop.Akonadi.AgentServer.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef AGENTSERVERINTERFACE_H_1496040223
#define AGENTSERVERINTERFACE_H_1496040223

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

/*
 * Proxy class for interface org.freedesktop.Akonadi.AgentServer
 */
class OrgFreedesktopAkonadiAgentServerInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.Akonadi.AgentServer"; }

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

    ~OrgFreedesktopAkonadiAgentServerInterface();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> agentInstanceConfigure(const QString &identifier, qlonglong windowId)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(windowId);
        return asyncCallWithArgumentList(QLatin1String("agentInstanceConfigure"), argumentList);
    }

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

    inline QDBusPendingReply<> startAgent(const QString &identifier, const QString &typeIdentifier, const QString &fileName)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier) << QVariant::fromValue(typeIdentifier) << QVariant::fromValue(fileName);
        return asyncCallWithArgumentList(QLatin1String("startAgent"), argumentList);
    }

    inline QDBusPendingReply<bool> started(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("started"), argumentList);
    }

    inline QDBusPendingReply<> stopAgent(const QString &identifier)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(identifier);
        return asyncCallWithArgumentList(QLatin1String("stopAgent"), argumentList);
    }

Q_SIGNALS: // SIGNALS
};

namespace org {
  namespace freedesktop {
    namespace Akonadi {
      typedef ::OrgFreedesktopAkonadiAgentServerInterface AgentServer;
    }
  }
}
#endif
