idlehomescreen/xmluirendering/uiengine/inc/xnwidgetextensionadapter.h
branchRCL_3
changeset 11 ff572dfe6d86
parent 9 f966699dea19
child 17 b8fae6b8a148
equal deleted inserted replaced
9:f966699dea19 11:ff572dfe6d86
    37 *  Popup Control adapter interface class
    37 *  Popup Control adapter interface class
    38 *  @lib xnlayoutengine.lib
    38 *  @lib xnlayoutengine.lib
    39 *  @since Series 60 5.0
    39 *  @since Series 60 5.0
    40 */
    40 */
    41 NONSHARABLE_CLASS( CXnWidgetExtensionAdapter ) : public CXnControlAdapter, 
    41 NONSHARABLE_CLASS( CXnWidgetExtensionAdapter ) : public CXnControlAdapter, 
    42     public MXnUiStateObserver
    42     public MXnUiStateObserver,
       
    43     public MXnUiResourceChangeObserver
    43     {
    44     {
    44 public: // Constructors and destructor
    45 public: // Constructors and destructor
    45 
    46 
    46     enum TPositionHint
    47     enum TPositionHint
    47            {
    48            {
    94     void NotifyLightStatusChanged( TBool aLightsOn );
    95     void NotifyLightStatusChanged( TBool aLightsOn );
    95        
    96        
    96     /**
    97     /**
    97      * @see MXnUiStateObserver
    98      * @see MXnUiStateObserver
    98      */    
    99      */    
    99     void NotifyInCallStateChaged( TBool aInCall );    
   100     void NotifyInCallStateChaged( TBool aInCall );
       
   101 
       
   102 private:
       
   103     // from MXnUiResourceChangeObserver
       
   104     
       
   105     /**
       
   106      * @see MXnUiResourceChangeObserver
       
   107      */
       
   108     void NotifyStatusPaneSizeChanged();
       
   109 
       
   110     /**
       
   111      * @see MXnUiResourceChangeObserver
       
   112      */
       
   113     void NotifyResourceChanged( TInt aType );
   100     
   114     
   101 private: 
   115 private: 
   102     // Constructors
   116     // Constructors
   103     /**
   117     /**
   104     * C++ default constructor.
   118     * C++ default constructor.
   127     /** Position hint */
   141     /** Position hint */
   128     TPositionHint iPositionHint;    
   142     TPositionHint iPositionHint;    
   129     /** AppUi, not owned */
   143     /** AppUi, not owned */
   130     CXnAppUiAdapter* iAppUiAdapter;
   144     CXnAppUiAdapter* iAppUiAdapter;
   131     /** Flag to indicate whether <popup> is permanent */
   145     /** Flag to indicate whether <popup> is permanent */
   132     TBool iPermanent;    
   146     TBool iPermanent;
       
   147     /** Is popup element */
       
   148     TBool iPopup;
   133 	};
   149 	};
   134 
   150 
   135 #endif // __XNWIDGETEXTENSIONADAPTER_H__
   151 #endif // __XNWIDGETEXTENSIONADAPTER_H__
   136 
   152 
   137 // End of File
   153 // End of File