2021-12-06 14:55:00 +08:00
|
|
|
#ifndef DELETEBACKUPPROXY_H
|
|
|
|
#define DELETEBACKUPPROXY_H
|
|
|
|
|
|
|
|
#include "workerfactory.h"
|
|
|
|
#include "parsebackuplist.h"
|
|
|
|
|
|
|
|
class DeleteBackupProxy : public Worker
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
DECLARE_DYNCREATE(DeleteBackupProxy)
|
|
|
|
public:
|
|
|
|
explicit DeleteBackupProxy();
|
|
|
|
virtual ~DeleteBackupProxy();
|
|
|
|
|
|
|
|
public:
|
|
|
|
// 任务处理
|
|
|
|
virtual void doWorkEx();
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool deleteXmlBackupPoint();
|
|
|
|
|
|
|
|
void deleteBackupPointDir();
|
2021-12-30 10:27:03 +08:00
|
|
|
|
|
|
|
ParseBackupList::BackupPoint m_backupPoint;
|
2021-12-06 14:55:00 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DELETEBACKUPPROXY_H
|