/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.Akonadi.ArchiveMailAgent.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef ARCHIVEMAILAGENTADAPTOR_H
#define ARCHIVEMAILAGENTADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "archivemailagent.h"
#include <QtCore/qcontainerfwd.h>

/*
 * Adaptor class for interface org.freedesktop.Akonadi.ArchiveMailAgent
 */
class ArchiveMailAgentAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Akonadi.ArchiveMailAgent")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.freedesktop.Akonadi.ArchiveMailAgent\">\n"
"    <method name=\"pause\"/>\n"
"    <method name=\"resume\"/>\n"
"    <method name=\"printArchiveListInfo\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"    <method name=\"printCurrentListInfo\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"    <method name=\"setEnableAgent\">\n"
"      <arg direction=\"in\" type=\"b\" name=\"enabled\"/>\n"
"    </method>\n"
"    <method name=\"enabledAgent\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"archiveFolder\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"path\"/>\n"
"      <arg direction=\"in\" type=\"x\" name=\"collectionId\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    ArchiveMailAgentAdaptor(ArchiveMailAgent *parent);
    ~ArchiveMailAgentAdaptor() override;

    inline ArchiveMailAgent *parent() const
    { return static_cast<ArchiveMailAgent *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void archiveFolder(const QString &path, qlonglong collectionId);
    bool enabledAgent();
    void pause();
    QString printArchiveListInfo();
    QString printCurrentListInfo();
    void resume();
    void setEnableAgent(bool enabled);
Q_SIGNALS: // SIGNALS
};

#endif
