filemanager/src/fmbkupenginewrapper/private/symbian/fmbkupengine_p.h
changeset 49 81668a704644
parent 25 b7bfdea70ca2
equal deleted inserted replaced
47:12b82dc0e8db 49:81668a704644
    62     FmBkupEnginePrivate(FmBkupEngine* bkupEngine);
    62     FmBkupEnginePrivate(FmBkupEngine* bkupEngine);
    63     ~FmBkupEnginePrivate();
    63     ~FmBkupEnginePrivate();
    64     
    64     
    65     bool startBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    65     bool startBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    66     QList<FmBkupBackupCategory*> backupCategoryList,
    66     QList<FmBkupBackupCategory*> backupCategoryList,
    67     QString drive, quint32 content);
    67     QString drive, quint32 content);  
    68     
    68     
    69     void cancelBackup();
    69     void cancelBackup();
    70     int deleteBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    70     int deleteBackup( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    71     
    71     
    72 
    72 
    73     TUint32 FmgrToBkupMask( const TUint32 aFmrgMask );
    73     TUint32 FmgrToBkupMask( const TUint32 aFmrgMask );
    74     int error();
    74     int error();
    75     
    75     
    76     //
    76     //
    77     bool StartRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    77     bool startRestore( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    78     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    78     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    79             QList< FmRestoreInfo > &restoreInfoList,
    79             QList< FmRestoreInfo > &restoreInfoList,
    80             const QString& aDrive );
    80             const QString& aDrive );
    81     
    81     
    82     void getBackupDriveList( QStringList &driveList );
    82     void getBackupDriveList( QStringList &driveList );
    87 	void notifyUpdate( int totalCount );
    87 	void notifyUpdate( int totalCount );
    88 	void notifyFinish( int err );
    88 	void notifyFinish( int err );
    89 	void notifyMemoryLow( int memoryValue, int &userError );
    89 	void notifyMemoryLow( int memoryValue, int &userError );
    90 	void notifyBackupFilesExist( bool &isContinue );
    90 	void notifyBackupFilesExist( bool &isContinue );
    91 private:
    91 private:
       
    92 	bool startBackupL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
       
    93 	    QList<FmBkupBackupCategory*> backupCategoryList,
       
    94 	    QString drive, quint32 content);
       
    95 	bool startRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
       
    96 	int deleteBackupL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    92     void notifyPreparingInternal();
    97     void notifyPreparingInternal();
    93 	void notifyStartInternal( int aTotalCount );
    98 	void notifyStartInternal( int aTotalCount );
    94 	void notifyUpdateInternal( int aCount );
    99 	void notifyUpdateInternal( int aCount );
    95 	void notifyFinishInternal();
   100 	void notifyFinishInternal();
    96 	void notifyMemoryLowInternal( int memoryValue, int &userError );
   101 	void notifyMemoryLowInternal( int memoryValue, int &userError );