javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h
branchRCL_3
changeset 24 6c158198356e
parent 23 e5618cc85d74
--- a/javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/lcdui_akn/lcdui/inc/CMIDCanvasGraphicsItem.h	Thu Aug 19 09:48:13 2010 +0300
@@ -74,7 +74,6 @@
      */
     virtual ~CMIDCanvasGraphicsItem();
 
-
 public: // From MMIDCustomComponent
 
     /**
@@ -163,6 +162,15 @@
      */
     void HandleResourceChange(TInt aType);
 
+    /**
+     * Handles switching from foreground to background and vice versa.
+     *
+     * @param aForeground Flag if it switches to foreground or to backgound.
+     *
+     * @since S60 5.0
+     */
+    void HandleForeground(TBool aForeground);
+
 public: // From MMIDScalable
 
     TBool IsScalingOn() const;
@@ -269,6 +277,14 @@
      * @since S60 5.0
      */
     void Dispose();
+public: // Own methods
+
+    /**
+     * Removes this component from component container 
+     * when its painter being disposed first (during finalization)
+     */
+    void CMIDCanvasGraphicsItem::DeregisterCanvasGraphicsItem();
+
 
 private: // own methods
     /**