filemanager/src/fmbkupenginewrapper/private/win32/fmbkupengine_p.h
changeset 37 15bc28c9dd51
parent 16 ada7962b4308
child 49 81668a704644
equal deleted inserted replaced
16:ada7962b4308 37:15bc28c9dd51
    54     
    54     
    55     //
    55     //
    56     bool StartRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    56     bool StartRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    57     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    57     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    58             QList< FmRestoreInfo > &restoreInfoList,
    58             QList< FmRestoreInfo > &restoreInfoList,
    59             const int aDrive = 0 );
    59             const QString& aDrive );
       
    60     void getBackupDriveList( QStringList &driveList );
    60 private:
    61 private:
    61     int DriverNameToNumber( QString driverName );
    62     int DriverNameToNumber( QString driverName );
    62     QString NumberToDriverName( int driver );
    63     QString NumberToDriverName( int driver );
    63     
    64     
    64     TBool HasMultipleBackupTargets();
    65 //    TBool HasMultipleBackupTargets();
    65 
    66 
    66 signals:
    67 signals:
    67     void notifyPreparing( bool cancelable );
    68     void notifyPreparing( bool cancelable );
    68 	void notifyStart( bool cancelable, int totalCount );
    69     void notifyStart( bool cancelable, int totalCount );
    69 	void notifyUpdate( int count );
    70     void notifyUpdate( int count );
    70 	void notifyFinish( int err );
    71     void notifyFinish( int err );
    71 	void notifyMemoryLow( int memoryValue, int &userError );
    72     void notifyMemoryLow( int memoryValue, int &userError );
       
    73 
       
    74     // win32 source code is used to simulator backup action.
       
    75     // add this signal in win32 to avoid warning when run test case
       
    76     // though it is not used in win32 source code currently
       
    77     void notifyBackupFilesExist( bool &isContinue );
    72 	
    78 	
    73 public slots:
    79 public slots:
    74     void onNotifyPreparing( bool cancelable );
    80     void onNotifyPreparing( bool cancelable );
    75     void onNotifyStart( bool cancelable, int totalCount );
    81     void onNotifyStart( bool cancelable, int totalCount );
    76 	void onNotifyUpdate( int count );
    82 	void onNotifyUpdate( int count );