/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-session/dbus/adaptor/org.deepin.dde.WMSwitcher1.xml -a ./dde-session/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1Adaptor -i ./dde-session/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1.h
 *
 * 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 "./dde-session/toolGenerate/qdbusxml2cpp/org.deepin.dde.WMSwitcher1Adaptor.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 WMSwitcher1Adaptor
 */

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

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

bool WMSwitcher1Adaptor::AllowSwitch()
{
    // handle method call org.deepin.dde.WMSwitcher1.AllowSwitch
    bool outArg0;
    QMetaObject::invokeMethod(parent(), "AllowSwitch", Q_RETURN_ARG(bool, outArg0));
    return outArg0;
}

QString WMSwitcher1Adaptor::CurrentWM()
{
    // handle method call org.deepin.dde.WMSwitcher1.CurrentWM
    QString outArg0;
    QMetaObject::invokeMethod(parent(), "CurrentWM", Q_RETURN_ARG(QString, outArg0));
    return outArg0;
}

void WMSwitcher1Adaptor::RequestSwitchWM()
{
    // handle method call org.deepin.dde.WMSwitcher1.RequestSwitchWM
    QMetaObject::invokeMethod(parent(), "RequestSwitchWM");
}

