filemanager/App/inc/CFileManagerAppUi.h
branchRCL_3
changeset 20 efe289f793e7
parent 0 6a9f87576119
--- a/filemanager/App/inc/CFileManagerAppUi.h	Tue May 11 16:01:48 2010 +0300
+++ b/filemanager/App/inc/CFileManagerAppUi.h	Tue May 25 12:28:34 2010 +0300
@@ -23,6 +23,8 @@
 //  INCLUDES
 #include <aknViewAppUi.h>       // CAknViewAppUi
 #include <TFileManagerDriveInfo.h>
+#include <ssm/ssmstateawaresession.h>
+
 #include "MFileManagerSchBackupObserver.h"
 
 // FORWARD DECLARATIONS
@@ -299,6 +301,13 @@
         */
         void ResetBackupOrRestoreEndTime();
         
+        /**
+        * after startup finish, the system state will get normal, backup/restore need check the status before get started.
+        * @since 5.2
+		* @return ETrue if system state is normal, EFalse if not
+        */
+        TBool IsSystemStateNormal() const;
+        
     public: // MCoeForegroundObserver
 
         /** Handles the application coming to the foreground. */
@@ -402,6 +411,10 @@
         TTime iManualBackupOrRestoreStarted;
         // Own: Stores the end time
         TTime iManualBackupOrRestoreEnded;
+        
+        // State aware session.
+        RSsmStateAwareSession iSAS;
+        
     };
 
 #endif // CFILEMANAGERAPPUI_H