/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp com.deepin.prohibitscreenshot.xml -a dbus_service/dbusadaptor
 *
 * 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 "dbus_service/dbusadaptor.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 DBusAdaptor
 */

DBusAdaptor::DBusAdaptor(QObject *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

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

bool DBusAdaptor::prohibited()
{
    // handle method call deepin.prohibitscreenshot.interface.prohibited
    bool out0;
    QMetaObject::invokeMethod(parent(), "prohibited", Q_RETURN_ARG(bool, out0));
    return out0;
}

int DBusAdaptor::setProhibited(bool bProhibited)
{
    // handle method call deepin.prohibitscreenshot.interface.setProhibited
    int out0;
    QMetaObject::invokeMethod(parent(), "setProhibited", Q_RETURN_ARG(int, out0), Q_ARG(bool, bProhibited));
    return out0;
}

int DBusAdaptor::registerProhibitedWindow(int window)
{
    int out0;
    QMetaObject::invokeMethod(parent(), "registerProhibitedWindow", Q_RETURN_ARG(int, out0), Q_ARG(int, window));
    return out0;
}

int DBusAdaptor::unRegisterProhibitedWindow(int window)
{
    int out0;
    QMetaObject::invokeMethod(parent(), "unRegisterProhibitedWindow", Q_RETURN_ARG(int, out0), Q_ARG(int, window));
    return out0;
}

bool DBusAdaptor::queryProhibitWindowState(int window)
{
    bool out0;
    QMetaObject::invokeMethod(parent(), "queryProhibitWindowState", Q_RETURN_ARG(bool, out0), Q_ARG(int, window));
    return out0;
}

QString DBusAdaptor::getOffClient()
{
    // handle method call deepin.prohibitscreenshot.interface.prohibited
    QString out0;
    QMetaObject::invokeMethod(parent(), "getOffClient", Q_RETURN_ARG(QString, out0));
    return out0;
}

void DBusAdaptor::sessionRemoved()
{
    QMetaObject::invokeMethod(parent(), "sessionRemoved");
}
