/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -i ../accesscontrol/accesscontrolmanager.h -c AccessControlAdaptor -l AccessControlManager -a dbusadaptor/accesscontrol_adaptor accesscontrol.xml
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "dbusadaptor/accesscontrol_adaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class AccessControlAdaptor
 */

AccessControlAdaptor::AccessControlAdaptor(AccessControlManager *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

AccessControlAdaptor::~AccessControlAdaptor()
{
    // destructor
}

void AccessControlAdaptor::ChangeDiskPassword(const QString &oldPwd, const QString &newPwd)
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.ChangeDiskPassword
    parent()->ChangeDiskPassword(oldPwd, newPwd);
}

QString AccessControlAdaptor::FileManagerReply(int policystate)
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.FileManagerReply
    return parent()->FileManagerReply(policystate);
}

QVariantList AccessControlAdaptor::QueryAccessPolicy()
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.QueryAccessPolicy
    return parent()->QueryAccessPolicy();
}

QVariantList AccessControlAdaptor::QueryVaultAccessPolicy()
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.QueryVaultAccessPolicy
    return parent()->QueryVaultAccessPolicy();
}

int AccessControlAdaptor::QueryVaultAccessPolicyVisible()
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.QueryVaultAccessPolicyVisible
    return parent()->QueryVaultAccessPolicyVisible();
}

QString AccessControlAdaptor::SetAccessPolicy(const QVariantMap &policy)
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.SetAccessPolicy
    return parent()->SetAccessPolicy(policy);
}

QString AccessControlAdaptor::SetVaultAccessPolicy(const QVariantMap &policy)
{
    // handle method call com.deepin.filemanager.daemon.AccessControlManager.SetVaultAccessPolicy
    return parent()->SetVaultAccessPolicy(policy);
}

