javauis/lcdui_akn/javalcdui/inc/Lcdglue.h
branchRCL_3
changeset 60 6c158198356e
parent 19 04becd199f91
equal deleted inserted replaced
59:e5618cc85d74 60:6c158198356e
    55     virtual void HandleSwitchOnEventL()=0;
    55     virtual void HandleSwitchOnEventL()=0;
    56     /**
    56     /**
    57      * Called by appui in response to CONE resource change.
    57      * Called by appui in response to CONE resource change.
    58      */
    58      */
    59     virtual void HandleResourceChangeL(TInt aType)=0;
    59     virtual void HandleResourceChangeL(TInt aType)=0;
       
    60 
       
    61 #ifdef RD_JAVA_NGA_ENABLED
       
    62     /**
       
    63      * Called by appui when application gains or loses partial/full foreground.
       
    64      */
       
    65     virtual void HandleFullOrPartialForegroundL(TBool aFullOrPartialFg)=0;
       
    66 
       
    67     /**
       
    68      * Called by appui when application needs to free all GPU memory immediately.
       
    69      */
       
    70     virtual void HandleFreeGraphicsMemory()=0;
       
    71 #endif //RD_JAVA_NGA_ENABLED
    60 };
    72 };
    61 #endif
    73 #endif
    62 
    74 
    63 class MLcduiPlugin
    75 class MLcduiPlugin
    64 {
    76 {
    65 public:
    77 public:
    66     virtual MMIDComponentFactory* CreateComponentFactoryL() = 0;
    78     virtual MMIDComponentFactory* CreateComponentFactoryL() = 0;
    67 #ifdef LCDUI_TRANSITIONAL_API
    79 #ifdef LCDUI_TRANSITIONAL_API
    68     virtual void SetObserver(MMIDObserver* aObserver) = 0;
    80     virtual void SetObserverL(MMIDObserver* aObserver) = 0;
       
    81     virtual void SetEnv(MMIDEnv* aEnv) = 0;
    69 #endif
    82 #endif
    70 };
    83 };
    71 
    84 
    72 /**
    85 /**
    73  * Glue interface between VM and UI plugin. Allows UI plugin DLL to attach and detach
    86  * Glue interface between VM and UI plugin. Allows UI plugin DLL to attach and detach