javauis/lcdui_akn/lcdui/inc/CMIDAppUi.h
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    54 
    54 
    55     RPointerArray<CMIDDisplayable>& Displayables();
    55     RPointerArray<CMIDDisplayable>& Displayables();
    56 
    56 
    57     void SetEnv(MMIDEnv& aEnv);
    57     void SetEnv(MMIDEnv& aEnv);
    58     void UnSetEnv();
    58     void UnSetEnv();
       
    59     void SetPauseAppState(TBool aState);
       
    60     TBool GetPauseAppState();
    59 
    61 
    60 
    62 
    61 private:
    63 private:
    62     // MLcduiPlugin
    64     // MLcduiPlugin
    63     void SetObserver(MMIDObserver* aObserver);
    65     void SetObserverL(MMIDObserver* aObserver);
    64     MMIDComponentFactory* CreateComponentFactoryL();
    66     MMIDComponentFactory* CreateComponentFactoryL();
    65 
    67     // This will be called from Toolkit before it deletes CMIDEnv
       
    68     void SetEnv(MMIDEnv* aEnv);
       
    69 #ifdef RD_JAVA_NGA_ENABLED
       
    70     /**
       
    71      * Handle graphics out of memory event sent by the GOOM module.
       
    72      * This method releases graphics memory and informs the GOOM about this.
       
    73      * @return <code>ETrue</code> if the event was handled properly.
       
    74      */
       
    75     TBool HandleGoomMemoryLowEventL();
       
    76 #endif // RD_JAVA_NGA_ENABLED
    66 
    77 
    67 private: // data
    78 private: // data
    68     MMIDObserver* iObserver;
    79     MMIDObserver* iObserver;
    69     RPointerArray<CMIDDisplayable> iDisplayables;
    80     RPointerArray<CMIDDisplayable> iDisplayables;
    70     java::ui::CoreUiAvkonAppUi*    mCoreAppUi;
    81     java::ui::CoreUiAvkonAppUi*    mCoreAppUi;
    71     CAknAppUi*                     mJavaAppUi;
    82     CAknAppUi*                     mJavaAppUi;
    72 
    83 
    73     MMIDEnv* iEnv;
    84     MMIDEnv* iEnv;
    74     CMIDDisplayable* iCurrentDisplayable;
    85     CMIDDisplayable* iCurrentDisplayable;
       
    86     // To store orientation change before Observer is set.
       
    87     TBool iPendingOrientationChange;
       
    88     TBool iPauseApp;
    75 };
    89 };
    76 
    90 
    77 #endif // CMIDAPPUI_H
    91 #endif // CMIDAPPUI_H
    78 
    92