camerauis/cameraapp/generic/inc/CamAppUi.h
branchRCL_3
changeset 12 8c55c525d5d7
parent 7 dbec5787fa68
child 16 d486e5e3cc9a
--- a/camerauis/cameraapp/generic/inc/CamAppUi.h	Fri Mar 12 15:41:04 2010 +0200
+++ b/camerauis/cameraapp/generic/inc/CamAppUi.h	Mon Mar 15 12:39:00 2010 +0200
@@ -617,7 +617,19 @@
         * @return ETrue if the application has pretended to exit, else EFalse 
         */
         TBool IsInPretendExit() const;
-
+        
+        /**
+        * Indicates whether or not the application was in a simulated exit situation
+        * @return ETrue if the application had pretended to exit, else EFalse 
+        */
+        TBool ReturningFromPretendExit() const; 
+        
+        /**
+        * Indicates whether or not the application started the first time
+        * @return ETrue if the application booted first time, else EFalse 
+        */
+        TBool IsFirstBoot() const; 
+                
         /**
         * Returns whether an MMC removed note is pending
         * @since 3.0
@@ -989,6 +1001,20 @@
         * @return ETrue if all memories are full or unavailable
         **/
         TBool AllMemoriesFullOrUnavailable() const;
+        
+        /**
+        * Checks the availability of memory on the currently selected 
+        * mediastorage for capturing images or video, result saved
+        * in iMemoryAvailableForCapturing
+        **/
+        void CheckMemoryAvailableForCapturing();
+        
+        /**
+        * Returns the previously saved availability of memory
+        * @return ETrue if memory available for capturing
+        **/
+        TBool IsMemoryAvailableForCapturing() const;
+        
 
             
     private: // New functions
@@ -1656,6 +1682,7 @@
         // running in the background. The app should behave slightly differently when we 
         // are next brought to the foreground.
         TBool iPretendExit;
+        TBool iReturningFromPretendExit; 
 
         // flag to indicate whether we are currently embedding another application
         TBool iEmbedding;
@@ -1776,6 +1803,8 @@
 
 		TInt iLandscapeScreenMode;
         TInt iPortraitScreenMode;
+        
+        TBool iMemoryAvailableForCapturing;
         };
 
 // ===========================================================================