javauis/lcdui_akn/lcdui/inc/CMIDAppUi.h
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
--- a/javauis/lcdui_akn/lcdui/inc/CMIDAppUi.h	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/inc/CMIDAppUi.h	Thu Aug 19 09:48:13 2010 +0300
@@ -56,13 +56,24 @@
 
     void SetEnv(MMIDEnv& aEnv);
     void UnSetEnv();
+    void SetPauseAppState(TBool aState);
+    TBool GetPauseAppState();
 
 
 private:
     // MLcduiPlugin
-    void SetObserver(MMIDObserver* aObserver);
+    void SetObserverL(MMIDObserver* aObserver);
     MMIDComponentFactory* CreateComponentFactoryL();
-
+    // This will be called from Toolkit before it deletes CMIDEnv
+    void SetEnv(MMIDEnv* aEnv);
+#ifdef RD_JAVA_NGA_ENABLED
+    /**
+     * Handle graphics out of memory event sent by the GOOM module.
+     * This method releases graphics memory and informs the GOOM about this.
+     * @return <code>ETrue</code> if the event was handled properly.
+     */
+    TBool HandleGoomMemoryLowEventL();
+#endif // RD_JAVA_NGA_ENABLED
 
 private: // data
     MMIDObserver* iObserver;
@@ -72,6 +83,9 @@
 
     MMIDEnv* iEnv;
     CMIDDisplayable* iCurrentDisplayable;
+    // To store orientation change before Observer is set.
+    TBool iPendingOrientationChange;
+    TBool iPauseApp;
 };
 
 #endif // CMIDAPPUI_H