javauis/lcdui_akn/javalcdui/inc/MMIDCustomComponent.h
branchRCL_3
changeset 24 6c158198356e
parent 23 e5618cc85d74
equal deleted inserted replaced
23:e5618cc85d74 24:6c158198356e
    46      */
    46      */
    47     enum TChange
    47     enum TChange
    48     {
    48     {
    49         EFullscreenChange,
    49         EFullscreenChange,
    50         EResolutionChange,
    50         EResolutionChange,
    51         EPartialVKBChange
    51         EPartialVKBChange,
       
    52         EForegroundGained
    52     };
    53     };
    53 
    54 
    54 public: // New methods
    55 public: // New methods
    55     /**
    56     /**
    56      * Returns the count of controls in this custom component.
    57      * Returns the count of controls in this custom component.
   133      *
   134      *
   134      * @since S60 5.0
   135      * @since S60 5.0
   135      */
   136      */
   136     virtual void HandleResourceChange(TInt aType) = 0;
   137     virtual void HandleResourceChange(TInt aType) = 0;
   137 
   138 
       
   139     /**
       
   140      * Handles switching from foreground to background and vice versa.
       
   141      *
       
   142      * @param aForeground Flag if it switches to foreground or to backgound.
       
   143      *
       
   144      * @since S60 5.0
       
   145      */
       
   146     virtual void HandleForeground(TBool aForeground) = 0;
       
   147 
   138 protected: // Destructor
   148 protected: // Destructor
   139 
   149 
   140     /**
   150     /**
   141      * Destructor. Disallows destruction through this interface
   151      * Destructor. Disallows destruction through this interface
   142      */
   152      */