/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.Akonadi.AgentServer.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef AGENTSERVERINTERFACE_H
#define AGENTSERVERINTERFACE_H

#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 = nullptr);

    ~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(QStringLiteral("agentInstanceConfigure"), argumentList);
    }

    inline QDBusPendingReply<> quit()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("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(QStringLiteral("startAgent"), argumentList);
    }

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

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

Q_SIGNALS: // SIGNALS
};

namespace org {
  namespace freedesktop {
    namespace Akonadi {
      using AgentServer = ::OrgFreedesktopAkonadiAgentServerInterface;
    }
  }
}

#endif
