diff -r 792dfc98fb3b -r 8c55c525d5d7 camerauis/cameraapp/generic/inc/CamAppUi.h --- 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; }; // ===========================================================================