javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h
branchRCL_3
changeset 23 e5618cc85d74
parent 14 04becd199f91
child 24 6c158198356e
equal deleted inserted replaced
21:4376525cdefb 23:e5618cc85d74
    38  * @lib lcdui
    38  * @lib lcdui
    39  * @since S60 5.0
    39  * @since S60 5.0
    40  */
    40  */
    41 class MMIDCustomComponent
    41 class MMIDCustomComponent
    42 {
    42 {
       
    43 public: // new types
       
    44     /**
       
    45      * Datatype indicates what change was made.
       
    46      */
       
    47     enum TChange
       
    48     {
       
    49         EFullscreenChange,
       
    50         EResolutionChange,
       
    51         EPartialVKBChange
       
    52     };
       
    53 
    43 public: // New methods
    54 public: // New methods
    44 
       
    45     /**
    55     /**
    46      * Returns the count of controls in this custom component.
    56      * Returns the count of controls in this custom component.
    47      *
    57      *
    48      * Note that the count must not change during the lifetime
    58      * Note that the count must not change during the lifetime
    49      * of the object. The count of all components is updated
    59      * of the object. The count of all components is updated
   115      * @since S60 5.0
   125      * @since S60 5.0
   116      */
   126      */
   117     virtual void HandleFullscreenModeChange() = 0;
   127     virtual void HandleFullscreenModeChange() = 0;
   118 
   128 
   119     /**
   129     /**
   120      * Handles changes of screen orientation.
   130      * Handles system resource change messages.
       
   131      *
       
   132      * @param aType A message UID value.
   121      *
   133      *
   122      * @since S60 5.0
   134      * @since S60 5.0
   123      */
   135      */
   124     virtual void HandleResolutionChange() = 0;
   136     virtual void HandleResourceChange(TInt aType) = 0;
   125 
   137 
   126 protected: // Destructor
   138 protected: // Destructor
   127 
   139 
   128     /**
   140     /**
   129      * Destructor. Disallows destruction through this interface
   141      * Destructor. Disallows destruction through this interface