/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.Akonadi.ResourceManager.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 RESOURCEMANAGERADAPTOR_H
#define RESOURCEMANAGERADAPTOR_H

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

/*
 * Adaptor class for interface org.freedesktop.Akonadi.ResourceManager
 */
class ResourceManagerAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Akonadi.ResourceManager")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.freedesktop.Akonadi.ResourceManager\">\n"
"    <method name=\"addResourceInstance\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"identifier\"/>\n"
"      <arg direction=\"in\" type=\"as\" name=\"capabilities\"/>\n"
"    </method>\n"
"    <method name=\"removeResourceInstance\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"identifier\"/>\n"
"    </method>\n"
"    <method name=\"resourceInstances\">\n"
"      <arg direction=\"out\" type=\"as\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    ResourceManagerAdaptor(Akonadi::Server::ResourceManager *parent);
    ~ResourceManagerAdaptor() override;

    inline Akonadi::Server::ResourceManager *parent() const
    { return static_cast<Akonadi::Server::ResourceManager *>(QObject::parent()); }

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void addResourceInstance(const QString &identifier, const QStringList &capabilities);
    void removeResourceInstance(const QString &identifier);
    QStringList resourceInstances();
Q_SIGNALS: // SIGNALS
};

#endif
