filemanager/src/fmbkupenginewrapper/private/symbian/fmbkupengine_p.h
changeset 16 ada7962b4308
parent 14 1957042d8c7e
child 18 edd66bde63a4
equal deleted inserted replaced
14:1957042d8c7e 16:ada7962b4308
    29 #include "fmrestoresettings.h"
    29 #include "fmrestoresettings.h"
    30 
    30 
    31 #include "MMMCScBkupEngineObserver.h"
    31 #include "MMMCScBkupEngineObserver.h"
    32 #include <f32file.h>
    32 #include <f32file.h>
    33 
    33 
       
    34 #include <QObject>
       
    35 #include <QStringList>
       
    36 
    34 class CMMCScBkupEngine;
    37 class CMMCScBkupEngine;
    35 
    38 
    36 #include <QObject>
       
    37 NONSHARABLE_CLASS(TMaskLookup)
    39 NONSHARABLE_CLASS(TMaskLookup)
    38     {
    40     {
    39     public:
    41     public:
    40         TUint32 iBkupMask;
    42         TUint32 iBkupMask;
    41         TUint32 iFmgrMask;
    43         TUint32 iFmgrMask;
    74     //
    76     //
    75     bool StartRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    77     bool StartRestoreL( QList<FmBkupDrivesAndOperation* > drivesAndOperationList );
    76     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    78     void GetRestoreInfoArray( QList<FmBkupDrivesAndOperation* > drivesAndOperationList,
    77             QList< FmRestoreInfo > &restoreInfoList,
    79             QList< FmRestoreInfo > &restoreInfoList,
    78             const TInt aDrive = KErrNotFound );
    80             const TInt aDrive = KErrNotFound );
       
    81     
       
    82     void getBackupDriveList( QStringList &driveList );
    79 
    83 
    80 signals:
    84 signals:
    81     void notifyPreparing( bool cancelable );
    85     void notifyPreparing( bool cancelable );
    82 	void notifyStart( bool cancelable, int totalCount );
    86 	void notifyStart( bool cancelable, int totalCount );
    83 	void notifyUpdate( int totalCount );
    87 	void notifyUpdate( int totalCount );
    84 	void notifyFinish( int err );
    88 	void notifyFinish( int err );
    85 	void notifyMemoryLow( int memoryValue, int &userError );
    89 	void notifyMemoryLow( int memoryValue, int &userError );
    86 	
    90 	void notifyBackupFilesExist( bool &isContinue );
    87 private:
    91 private:
    88     void notifyPreparingInternal();
    92     void notifyPreparingInternal();
    89 	void notifyStartInternal( int aTotalCount );
    93 	void notifyStartInternal( int aTotalCount );
    90 	void notifyUpdateInternal( int aCount );
    94 	void notifyUpdateInternal( int aCount );
    91 	void notifyFinishInternal();
    95 	void notifyFinishInternal();
    92 	void notifyMemoryLowInternal( int memoryValue, int &userError );
    96 	void notifyMemoryLowInternal( int memoryValue, int &userError );
       
    97 	void notifyBackupFilesExistInternal( bool &isContinue );
    93 
    98 
    94 private: // From MMMCScBkupEngineObserver
    99 private: // From MMMCScBkupEngineObserver
    95     TInt HandleBkupEngineEventL(
   100     TInt HandleBkupEngineEventL(
    96         MMMCScBkupEngineObserver::TEvent aEvent, TInt aAssociatedData );
   101         MMMCScBkupEngineObserver::TEvent aEvent, TInt aAssociatedData );
    97     
   102