diff -r b023a8d2866a -r ea65f74e6de4 photosgallery/viewframework/uiutilities/inc/glxuiutility.h --- a/photosgallery/viewframework/uiutilities/inc/glxuiutility.h Thu Jul 15 18:39:01 2010 +0300 +++ b/photosgallery/viewframework/uiutilities/inc/glxuiutility.h Thu Aug 19 09:55:03 2010 +0300 @@ -258,6 +258,18 @@ */ IMPORT_C TInt GetKeyguardStatus(); + /** + * This method returns the foreground status + * @return ETrue if forground; otherwise EFalse. + */ + IMPORT_C TBool GetForegroundStatus(); + + /** + * This method will store the foreground status + * @param aForeground the foreground status. + */ + IMPORT_C void SetForegroundStatus(TBool aForeground); + public: // from class MGlxTvObserver /** @@ -395,6 +407,9 @@ CAknToolbar* iToolbar; CPeriodic* iPeriodic; CAknLocalScreenClearer* iClearer; + + /** The foreground status flag */ + TBool iIsForeground; };