2021-08-06 10:20:03 +08:00
|
|
|
#ifndef MYMOUNTPROXY_H
|
|
|
|
#define MYMOUNTPROXY_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "myprocess/mountbackupprocess.h"
|
2021-10-26 09:24:05 +08:00
|
|
|
#include "../common/mydefine.h"
|
2021-08-06 10:20:03 +08:00
|
|
|
|
|
|
|
class MyMountProxy : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
|
|
|
|
MyMountProxy(QObject* parent = nullptr);
|
|
|
|
|
|
|
|
MountResult mountBackupPartition();
|
|
|
|
|
2021-10-26 09:24:05 +08:00
|
|
|
bool umountBackupPartition();
|
|
|
|
|
2021-08-06 10:20:03 +08:00
|
|
|
private:
|
|
|
|
MountBackupProcess* m_processMount;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MYMOUNTPROXY_H
|