javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h
branchRCL_3
changeset 60 6c158198356e
parent 59 e5618cc85d74
--- a/javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h	Thu Aug 19 09:48:13 2010 +0300
@@ -48,7 +48,8 @@
     {
         EFullscreenChange,
         EResolutionChange,
-        EPartialVKBChange
+        EPartialVKBChange,
+        EForegroundGained
     };
 
 public: // New methods
@@ -135,6 +136,15 @@
      */
     virtual void HandleResourceChange(TInt aType) = 0;
 
+    /**
+     * Handles switching from foreground to background and vice versa.
+     *
+     * @param aForeground Flag if it switches to foreground or to backgound.
+     *
+     * @since S60 5.0
+     */
+    virtual void HandleForeground(TBool aForeground) = 0;
+
 protected: // Destructor
 
     /**