photosgallery/viewframework/uiutilities/inc/glxuiutility.h
branchRCL_3
changeset 17 a60acebbbd9d
parent 14 2dac0fdba72b
child 23 b023a8d2866a
equal deleted inserted replaced
15:191387a8b767 17:a60acebbbd9d
    45 class CAlfTexture;
    45 class CAlfTexture;
    46 class CAlfControl;
    46 class CAlfControl;
    47 class CGlxTv;
    47 class CGlxTv;
    48 class CGlxResolutionManager;
    48 class CGlxResolutionManager;
    49 class CGlxScreenFurniture;
    49 class CGlxScreenFurniture;
       
    50 class CAknLocalScreenClearer;
       
    51 
    50 //class CHgContextUtility;
    52 //class CHgContextUtility;
    51 /**
    53 /**
    52  * Enumeration for different types of navigations that occur from one view to the next
    54  * Enumeration for different types of navigations that occur from one view to the next
    53  */
    55  */
    54 enum TGlxNavigationDirection 
    56 enum TGlxNavigationDirection 
   100 
   102 
   101     /**
   103     /**
   102      * Get a pointer to the Alf environment.
   104      * Get a pointer to the Alf environment.
   103      * @return The ALF environment owned by the AlfUtility.
   105      * @return The ALF environment owned by the AlfUtility.
   104      */
   106      */
   105     IMPORT_C CAlfEnv* Env() const;
   107     IMPORT_C CAlfEnv* Env();
   106     
   108     
   107     /**
   109     /**
   108      * Get a pointer to the Alf display.
   110      * Get a pointer to the Alf display.
   109      * @return The ALF display owned by ALF.
   111      * @return The ALF display owned by ALF.
   110      */
   112      */
   230     /**
   232     /**
   231      * Set the current Grid toolbar being used
   233      * Set the current Grid toolbar being used
   232      * @param aToolbar Current Toolbar
   234      * @param aToolbar Current Toolbar
   233      */
   235      */
   234     IMPORT_C void SetGridToolBar(CAknToolbar* aToolbar);
   236     IMPORT_C void SetGridToolBar(CAknToolbar* aToolbar);
       
   237    
       
   238     /**
       
   239      * Display Blank screen
       
   240      */
       
   241     IMPORT_C void CGlxUiUtility::DisplayScreenClearerL();
       
   242 
       
   243     /**
       
   244      * Destroy Blank screen
       
   245      */
       
   246     IMPORT_C void CGlxUiUtility::DestroyScreenClearer();
   235     
   247     
   236 public: // from class MGlxTvObserver
   248 public: // from class MGlxTvObserver
   237 
   249 
   238     /**
   250     /**
   239      * @ref MGlxTvObserver::HandleTvStatusChangedL
   251      * @ref MGlxTvObserver::HandleTvStatusChangedL
   260 	 *Remove MGlxSkinChangeObserver from skin change observers array. 
   272 	 *Remove MGlxSkinChangeObserver from skin change observers array. 
   261 	 *@param aObserver Reference of the MGlxSkinChangeObserver.
   273 	 *@param aObserver Reference of the MGlxSkinChangeObserver.
   262 	 */
   274 	 */
   263     IMPORT_C void RemoveSkinChangeObserver(MGlxSkinChangeObserver& aObserver);   
   275     IMPORT_C void RemoveSkinChangeObserver(MGlxSkinChangeObserver& aObserver);   
   264     
   276     
   265 
   277 public:
       
   278     // Callback for periodic timer, static, 
       
   279     static TInt PeriodicCallback( TAny* aPtr );
       
   280 	
       
   281     // Non-static func called from periodic timer
       
   282     void CreateAlfEnvCallbackL();
   266 private: 
   283 private: 
   267     /**
   284     /**
   268      * C++ default constructor.
   285      * C++ default constructor.
   269      */
   286      */
   270     CGlxUiUtility();
   287     CGlxUiUtility();
   294      * Calculate the Grid Icon Size for Grid Widget. It always calculate
   311      * Calculate the Grid Icon Size for Grid Widget. It always calculate
   295      * size for Landscape orientation. This is done to avoid saving two
   312      * size for Landscape orientation. This is done to avoid saving two
   296      * different thumbnail icons in Thumbnail database.
   313      * different thumbnail icons in Thumbnail database.
   297      */
   314      */
   298      void GridIconSizeL();
   315      void GridIconSizeL();
       
   316     
       
   317      /**
       
   318       * Create Alf environment
       
   319       */
       
   320      void CreateAlfEnvL();
       
   321      
   299     // internal class to contain details of a style
   322     // internal class to contain details of a style
   300 private:
   323 private:
   301     class TGlxTextStyle
   324     class TGlxTextStyle
   302         {
   325         {
   303     public:
   326     public:
   355     //Added to give the Image size to the Coverflow Widget for Rotation
   378     //Added to give the Image size to the Coverflow Widget for Rotation
   356     TSize iRotatedImageSize;
   379     TSize iRotatedImageSize;
   357 	
   380 	
   358 	//current Toolbar being used
   381 	//current Toolbar being used
   359     CAknToolbar* iToolbar;
   382     CAknToolbar* iToolbar;
       
   383     CPeriodic* iPeriodic;
       
   384     CAknLocalScreenClearer* iClearer;
   360     };
   385     };
   361 
   386 
   362 
   387 
   363 #endif // C_GLXALFUTILITY_H
   388 #endif // C_GLXALFUTILITY_H