javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h
branchRCL_3
changeset 23 e5618cc85d74
parent 14 04becd199f91
child 24 6c158198356e
--- a/javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h	Mon Jun 21 15:32:50 2010 +0300
+++ b/javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h	Thu Jul 15 18:31:06 2010 +0300
@@ -40,8 +40,18 @@
  */
 class MMIDCustomComponent
 {
+public: // new types
+    /**
+     * Datatype indicates what change was made.
+     */
+    enum TChange
+    {
+        EFullscreenChange,
+        EResolutionChange,
+        EPartialVKBChange
+    };
+
 public: // New methods
-
     /**
      * Returns the count of controls in this custom component.
      *
@@ -117,11 +127,13 @@
     virtual void HandleFullscreenModeChange() = 0;
 
     /**
-     * Handles changes of screen orientation.
+     * Handles system resource change messages.
+     *
+     * @param aType A message UID value.
      *
      * @since S60 5.0
      */
-    virtual void HandleResolutionChange() = 0;
+    virtual void HandleResourceChange(TInt aType) = 0;
 
 protected: // Destructor