/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp com.kylin.backup.manager.xml -i mybackupmanager.h -a ManagerAdaptor
 *
 * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef MANAGERADAPTOR_H
#define MANAGERADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "mybackupmanager.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE

/*
 * Adaptor class for interface com.kylin.backup.manager
 */
class ManagerAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.kylin.backup.manager")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"com.kylin.backup.manager\">\n"
"    <signal name=\"sendEnvCheckResult\">\n"
"      <arg direction=\"out\" type=\"i\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendStartBackupResult\">\n"
"      <arg direction=\"out\" type=\"i\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendBackupResult\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendRate\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </signal>\n"
"    <signal name=\"sendRestoreResult\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendDeleteResult\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendGhostBackupResult\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"backupFinished\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"sendAutoRestoreResult\">\n"
"      <arg direction=\"out\" type=\"b\" name=\"result\"/>\n"
"    </signal>\n"
"    <signal name=\"progress\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </signal>\n"
"    <method name=\"Mount_backup_partition\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"umountBackupPartition\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"remountPartitionsForCasperMode\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"autoBackUpForSystemUpdate_noreturn\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"backupName\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"createNote\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"incNote\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"frontUserName\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"frontUid\"/>\n"
"    </method>\n"
"    <method name=\"autoRestoreForSystemUpdate\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"frontUserName\"/>\n"
"      <arg direction=\"in\" type=\"i\" name=\"frontUid\"/>\n"
"    </method>\n"
"    <method name=\"getBackupCommentForSystemUpdate\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"      <arg direction=\"out\" type=\"s\" name=\"state\"/>\n"
"    </method>\n"
"    <method name=\"getBackupState\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <arg direction=\"out\" type=\"b\" name=\"isActive\"/>\n"
"    </method>\n"
"    <method name=\"checkEnv\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <annotation value=\"BackupWrapper\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg direction=\"in\" type=\"a(i)\" name=\"backupWrapper\"/>\n"
"    </method>\n"
"    <method name=\"goBackup\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <annotation value=\"BackupWrapper\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg direction=\"in\" type=\"a(i)\" name=\"backupWrapper\"/>\n"
"    </method>\n"
"    <method name=\"goRestore\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <annotation value=\"BackupWrapper\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg direction=\"in\" type=\"a(i)\" name=\"backupWrapper\"/>\n"
"    </method>\n"
"    <method name=\"deleteBackupPoint\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <annotation value=\"BackupWrapper\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg direction=\"in\" type=\"a(i)\" name=\"backupWrapper\"/>\n"
"    </method>\n"
"    <method name=\"ghostBackup\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"      <annotation value=\"BackupWrapper\" name=\"org.qtproject.QtDBus.QtTypeName.In0\"/>\n"
"      <arg direction=\"in\" type=\"a(i)\" name=\"backupWrapper\"/>\n"
"    </method>\n"
"    <method name=\"cancel\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"existsSystemBackupNode\">\n"
"      <arg direction=\"out\" type=\"b\"/>\n"
"    </method>\n"
"    <method name=\"reboot\">\n"
"      <arg direction=\"out\" type=\"i\"/>\n"
"    </method>\n"
"    <method name=\"setLocale\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"locale\"/>\n"
"    </method>\n"
"    <method name=\"getBackupLog\">\n"
"      <arg direction=\"out\" type=\"s\"/>\n"
"    </method>\n"
"  </interface>\n"
        "")
public:
    ManagerAdaptor(QObject *parent);
    virtual ~ManagerAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    int Mount_backup_partition();
    bool umountBackupPartition();
    bool remountPartitionsForCasperMode();
    void autoBackUpForSystemUpdate_noreturn(const QString &backupName, const QString &createNote, const QString &incNote, const QString &frontUserName, int frontUid);
    void autoRestoreForSystemUpdate(const QString& frontUserName, int frontUid);
    int checkEnv(BackupWrapper backupWrapper);
    int deleteBackupPoint(BackupWrapper backupWrapper);
    QString getBackupCommentForSystemUpdate(QString &state);
    int getBackupState(bool &isActive);
    int ghostBackup(BackupWrapper backupWrapper);
    int goBackup(BackupWrapper backupWrapper);
    int goRestore(BackupWrapper backupWrapper);
    int cancel();
    int reboot();
    bool existsSystemBackupNode();
    void setLocale(const QString& locale);
    QString getBackupLog();
Q_SIGNALS: // SIGNALS
    void backupFinished(bool result);
    void progress(int in0, int in1);
    void sendBackupResult(bool result);
    void sendDeleteResult(bool result);
    void sendEnvCheckResult(int result);
    void sendGhostBackupResult(bool result);
    void sendRate(int in0, int in1);
    void sendRestoreResult(bool result);
    void sendStartBackupResult(int result);
    void sendAutoRestoreResult(bool result);
};

#endif
