filemanager/src/filemanager/src/backuprestore/fmbackuprestorehandler.h
changeset 16 ada7962b4308
parent 14 1957042d8c7e
equal deleted inserted replaced
14:1957042d8c7e 16:ada7962b4308
    45     bool startRestore( FmOperationRestore *operationRestore );
    45     bool startRestore( FmOperationRestore *operationRestore );
    46 
    46 
    47     int deleteBackup( quint64 selection );
    47     int deleteBackup( quint64 selection );
    48     FmBkupEngine *bkupEngine();
    48     FmBkupEngine *bkupEngine();
    49     FmBackupConfigLoader *backupConfigLoader();
    49     FmBackupConfigLoader *backupConfigLoader();
       
    50     void getBackupDriveList( QStringList &driveList );
    50 
    51 
    51 signals:
    52 signals:
    52     void notifyPreparing( bool cancelable );
    53     void notifyPreparing( bool cancelable );
    53     void notifyStart( bool cancelable, int maxSteps );
    54     void notifyStart( bool cancelable, int maxSteps );
    54     void notifyProgress( int currentStep );
    55     void notifyProgress( int currentStep );
    62     void onNotifyMemoryLow( int memoryValue, int &userError );
    63     void onNotifyMemoryLow( int memoryValue, int &userError );
    63     
    64     
    64     void onNotifyStart( bool cancelable, int maxSteps );
    65     void onNotifyStart( bool cancelable, int maxSteps );
    65     void onNotifyUpdate( int currentStep );
    66     void onNotifyUpdate( int currentStep );
    66     void onNotifyFinish( int err );
    67     void onNotifyFinish( int err );
       
    68     
       
    69     void onNotifyBackupFilesExist( bool &isContinue );
    67 private:
    70 private:
    68     enum Process{
    71     enum Process{
    69 		ProcessNone = 0,
    72 		ProcessNone = 0,
    70 		ProcessBackup,
    73 		ProcessBackup,
    71 		ProcessRestore
    74 		ProcessRestore