equal
deleted
inserted
replaced
21 |
21 |
22 |
22 |
23 // INCLUDE FILES |
23 // INCLUDE FILES |
24 #include <e32base.h> |
24 #include <e32base.h> |
25 #include "filemanagerschobserver.h" |
25 #include "filemanagerschobserver.h" |
26 |
26 #include "fmsystemstatemonitor.h" |
27 |
27 |
28 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
29 class CScheduledTask; |
29 class CScheduledTask; |
30 class CFileManagerSchSubscriber; |
30 class CFileManagerSchSubscriber; |
31 class CRepository; |
31 class CRepository; |
36 * This class handles scheduled backup task start functionality |
36 * This class handles scheduled backup task start functionality |
37 * |
37 * |
38 * @since S60 3.1 |
38 * @since S60 3.1 |
39 */ |
39 */ |
40 class CFileManagerSchBackupTask : public CActive, |
40 class CFileManagerSchBackupTask : public CActive, |
41 public MFileManagerSchObserver |
41 public MFileManagerSchObserver, |
|
42 public MFmSystemStateMonitorObserver |
42 { |
43 { |
43 |
44 |
44 public: |
45 public: |
45 /** |
46 /** |
46 * Two-phased constructor. |
47 * Two-phased constructor. |
63 void NotifyKeyChangeOrTimeoutL( |
64 void NotifyKeyChangeOrTimeoutL( |
64 const TUid& aCategory, |
65 const TUid& aCategory, |
65 const TUint aKey, |
66 const TUint aKey, |
66 const TBool aTimeout ); |
67 const TBool aTimeout ); |
67 |
68 |
|
69 public: // From MFmSystemStateMonitorObserver |
|
70 /** |
|
71 * Called when the system state changed |
|
72 * @since 5.2 |
|
73 */ |
|
74 void SystemStateChangedEvent(); |
|
75 |
68 private: // New methods |
76 private: // New methods |
69 /** |
77 /** |
70 * Constructors |
78 * Constructors |
71 */ |
79 */ |
72 CFileManagerSchBackupTask(); |
80 CFileManagerSchBackupTask(); |
123 |
131 |
124 /** |
132 /** |
125 * Start attempts left |
133 * Start attempts left |
126 */ |
134 */ |
127 TInt iAttemptsLeft; |
135 TInt iAttemptsLeft; |
|
136 |
|
137 /** |
|
138 * Own: Pointer to system state monitor |
|
139 */ |
|
140 CFmSystemStateMonitor* iSystemStateMonitor; |
128 |
141 |
129 }; |
142 }; |
130 |
143 |
131 |
144 |
132 #endif // C_FILEMANAGERSCHBACKUPTASK_H |
145 #endif // C_FILEMANAGERSCHBACKUPTASK_H |