equal
deleted
inserted
replaced
31 @internalComponent |
31 @internalComponent |
32 */ |
32 */ |
33 class CAgnServBackupRestoreAgent : public CActive |
33 class CAgnServBackupRestoreAgent : public CActive |
34 { |
34 { |
35 public: |
35 public: |
36 static CAgnServBackupRestoreAgent* NewL(CAgnServFileMgr& aFileMgr); |
36 static CAgnServBackupRestoreAgent* NewL(CAgnServFileMgr& aFileMgr ,TBool& aBackupRestoreInProgress); |
37 ~CAgnServBackupRestoreAgent(); |
37 ~CAgnServBackupRestoreAgent(); |
38 |
38 |
39 TBool BackupInProgress() const; |
39 TBool BackupInProgress() const; |
40 TBool RestoreInProgress() const; |
40 TBool RestoreInProgress() const; |
41 void Start(); |
41 void Start(); |
42 |
42 |
43 private: |
43 private: |
44 CAgnServBackupRestoreAgent(CAgnServFileMgr& aFileMgr); |
44 CAgnServBackupRestoreAgent(CAgnServFileMgr& aFileMgr , TBool& aBackupRestoreInProgress); |
45 |
45 |
46 private: // from CActive |
46 private: // from CActive |
47 void RunL(); |
47 void RunL(); |
48 TInt RunError(TInt aError); |
48 TInt RunError(TInt aError); |
49 void DoCancel(); |
49 void DoCancel(); |
55 Backup/Restore events. |
55 Backup/Restore events. |
56 */ |
56 */ |
57 RProperty iBackupRestoreNotification; |
57 RProperty iBackupRestoreNotification; |
58 TInt iCurrentState; |
58 TInt iCurrentState; |
59 CAgnServFileMgr& iFileMgr; |
59 CAgnServFileMgr& iFileMgr; |
|
60 TBool& iBackupRestoreInProgress; |
60 }; |
61 }; |
61 |
62 |
62 #endif |
63 #endif |