diff -r 5181328fad28 -r efe289f793e7 filemanager/schbkup/inc/filemanagerschbackuptask.h --- a/filemanager/schbkup/inc/filemanagerschbackuptask.h Tue May 11 16:01:48 2010 +0300 +++ b/filemanager/schbkup/inc/filemanagerschbackuptask.h Tue May 25 12:28:34 2010 +0300 @@ -23,7 +23,7 @@ // INCLUDE FILES #include #include "filemanagerschobserver.h" - +#include "fmsystemstatemonitor.h" // FORWARD DECLARATIONS class CScheduledTask; @@ -38,7 +38,8 @@ * @since S60 3.1 */ class CFileManagerSchBackupTask : public CActive, - public MFileManagerSchObserver + public MFileManagerSchObserver, + public MFmSystemStateMonitorObserver { public: @@ -65,6 +66,13 @@ const TUint aKey, const TBool aTimeout ); +public: // From MFmSystemStateMonitorObserver + /** + * Called when the system state changed + * @since 5.2 + */ + void SystemStateChangedEvent(); + private: // New methods /** * Constructors @@ -125,6 +133,11 @@ * Start attempts left */ TInt iAttemptsLeft; + + /** + * Own: Pointer to system state monitor + */ + CFmSystemStateMonitor* iSystemStateMonitor; };