/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -a powermanagementpolicyagentadaptor -c PowerManagementPolicyAgentAdaptor -i powerdevilpolicyagent.h -l PowerDevil::PolicyAgent /build/powerdevil/src/powerdevil-5.26.1/daemon/org.kde.Solid.PowerManagement.PolicyAgent.xml
 *
 * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "powermanagementpolicyagentadaptor.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 PowerManagementPolicyAgentAdaptor
 */

PowerManagementPolicyAgentAdaptor::PowerManagementPolicyAgentAdaptor(PowerDevil::PolicyAgent *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

uint PowerManagementPolicyAgentAdaptor::AddInhibition(uint in0, const QString &in1, const QString &in2)
{
    // handle method call org.kde.Solid.PowerManagement.PolicyAgent.AddInhibition
    return parent()->AddInhibition(in0, in1, in2);
}

bool PowerManagementPolicyAgentAdaptor::HasInhibition(uint in0)
{
    // handle method call org.kde.Solid.PowerManagement.PolicyAgent.HasInhibition
    return parent()->HasInhibition(in0);
}

QList<InhibitionInfo> PowerManagementPolicyAgentAdaptor::ListInhibitions()
{
    // handle method call org.kde.Solid.PowerManagement.PolicyAgent.ListInhibitions
    return parent()->ListInhibitions();
}

void PowerManagementPolicyAgentAdaptor::ReleaseInhibition(uint in0)
{
    // handle method call org.kde.Solid.PowerManagement.PolicyAgent.ReleaseInhibition
    parent()->ReleaseInhibition(in0);
}


#include "powermanagementpolicyagentadaptor.moc"
