uiaccelerator_plat/alf_core_toolkit_api/inc/uiacceltk/HuiEnv.h
branchRCL_3
changeset 3 d8a3531bc6b8
parent 0 15bf7259bb7c
child 6 10534483575f
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
    49 class MHuiEventHandler;
    49 class MHuiEventHandler;
    50 class CHuiTextStyleManager;
    50 class CHuiTextStyleManager;
    51 class CHuiThemeManager;
    51 class CHuiThemeManager;
    52 class CHuiCanvasTextureCache;
    52 class CHuiCanvasTextureCache;
    53 class CHuiFxEngine;
    53 class CHuiFxEngine;
       
    54 class MHuiSynchronizationObserver;
    54 
    55 
    55 class CHighResTimer;
    56 class CHighResTimer;
    56 const TInt KHuiEnvReleasedActionId = 0x200100F8;
    57 const TInt KHuiEnvReleasedActionId = 0x200100F8;
    57 const TInt KHuiEnvRestoredActionId = 0x200100F9;
    58 const TInt KHuiEnvRestoredActionId = 0x200100F9;
    58 
    59 
   757      */
   758      */
   758     CHuiDisplay* CurrentDisplay() const;
   759     CHuiDisplay* CurrentDisplay() const;
   759 
   760 
   760     CHuiCanvasTextureCache& CanvasTextureCache() const;
   761     CHuiCanvasTextureCache& CanvasTextureCache() const;
   761 
   762 
       
   763     /**
       
   764 	 * Performs drawing synchronization.
       
   765 	 * @internal
       
   766 	 * @param aId identifier.
       
   767 	 * @param aObserver observer to be informed of completion.
       
   768 	 */
       
   769     IMPORT_C void Synchronize(TInt aId, MHuiSynchronizationObserver* aObserver);
       
   770 
       
   771      /**
       
   772      	 * Removes the controlgroup
       
   773 	 * @param aId identifier.
       
   774 
       
   775      */	   	
       
   776      void RemoveTheControlGroup(TInt aId); 		
   762 public:
   777 public:
   763 
   778 
   764     /* Implementaton of MHuiTextureLoadingCompletedObserver: */
   779     /* Implementaton of MHuiTextureLoadingCompletedObserver: */
   765 
   780 
   766     void TextureLoadingCompleted(CHuiTexture& aTexture,
   781     void TextureLoadingCompleted(CHuiTexture& aTexture,
   986     IMPORT_C void AddMemoryLevelObserver(MHuiMemoryLevelObserver * aObserver);
  1001     IMPORT_C void AddMemoryLevelObserver(MHuiMemoryLevelObserver * aObserver);
   987     IMPORT_C void RemoveMemoryLevelObserver(MHuiMemoryLevelObserver * aObserver);
  1002     IMPORT_C void RemoveMemoryLevelObserver(MHuiMemoryLevelObserver * aObserver);
   988     IMPORT_C void NotifyMemoryLevel(THuiMemoryLevel aMemoryLevel);
  1003     IMPORT_C void NotifyMemoryLevel(THuiMemoryLevel aMemoryLevel);
   989     IMPORT_C THuiMemoryLevel MemoryLevel();
  1004     IMPORT_C THuiMemoryLevel MemoryLevel();
   990     
  1005     
       
  1006     void DoSynchronize();
       
  1007 private:
       
  1008     MHuiSynchronizationObserver* iSynchObserver;
       
  1009     TInt iSynchId;
   991     };
  1010     };
   992 
  1011 
   993 #endif  // __HUIENV_H__
  1012 #endif  // __HUIENV_H__