photosgallery/viewframework/uiutilities/inc/glxuiutility.h
branchRCL_3
changeset 17 a60acebbbd9d
parent 14 2dac0fdba72b
child 23 b023a8d2866a
--- a/photosgallery/viewframework/uiutilities/inc/glxuiutility.h	Tue Apr 27 16:37:53 2010 +0300
+++ b/photosgallery/viewframework/uiutilities/inc/glxuiutility.h	Tue May 11 16:13:40 2010 +0300
@@ -47,6 +47,8 @@
 class CGlxTv;
 class CGlxResolutionManager;
 class CGlxScreenFurniture;
+class CAknLocalScreenClearer;
+
 //class CHgContextUtility;
 /**
  * Enumeration for different types of navigations that occur from one view to the next
@@ -102,7 +104,7 @@
      * Get a pointer to the Alf environment.
      * @return The ALF environment owned by the AlfUtility.
      */
-    IMPORT_C CAlfEnv* Env() const;
+    IMPORT_C CAlfEnv* Env();
     
     /**
      * Get a pointer to the Alf display.
@@ -232,6 +234,16 @@
      * @param aToolbar Current Toolbar
      */
     IMPORT_C void SetGridToolBar(CAknToolbar* aToolbar);
+   
+    /**
+     * Display Blank screen
+     */
+    IMPORT_C void CGlxUiUtility::DisplayScreenClearerL();
+
+    /**
+     * Destroy Blank screen
+     */
+    IMPORT_C void CGlxUiUtility::DestroyScreenClearer();
     
 public: // from class MGlxTvObserver
 
@@ -262,7 +274,12 @@
 	 */
     IMPORT_C void RemoveSkinChangeObserver(MGlxSkinChangeObserver& aObserver);   
     
-
+public:
+    // Callback for periodic timer, static, 
+    static TInt PeriodicCallback( TAny* aPtr );
+	
+    // Non-static func called from periodic timer
+    void CreateAlfEnvCallbackL();
 private: 
     /**
      * C++ default constructor.
@@ -296,6 +313,12 @@
      * different thumbnail icons in Thumbnail database.
      */
      void GridIconSizeL();
+    
+     /**
+      * Create Alf environment
+      */
+     void CreateAlfEnvL();
+     
     // internal class to contain details of a style
 private:
     class TGlxTextStyle
@@ -357,6 +380,8 @@
 	
 	//current Toolbar being used
     CAknToolbar* iToolbar;
+    CPeriodic* iPeriodic;
+    CAknLocalScreenClearer* iClearer;
     };