idlehomescreen/xmluirendering/uiengine/inc/xnviewadapter.h
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 18 d05a55b217df
equal deleted inserted replaced
11:ff572dfe6d86 12:9674c1a575e9
    30 class CXnViewData;
    30 class CXnViewData;
    31 class CXnViewManager;
    31 class CXnViewManager;
    32 class CXnAppUiAdapter;
    32 class CXnAppUiAdapter;
    33 class CXnControlAdapter;
    33 class CXnControlAdapter;
    34 class CXnKeyEventDispatcher;
    34 class CXnKeyEventDispatcher;
    35 class CXnBgControl;
       
    36 class CXnBackgroundManager;
    35 class CXnBackgroundManager;
    37 class CXnFocusControl;
    36 class CXnFocusControl;
    38 
    37 
    39 // Class declaration
    38 // Class declaration
    40 /**
    39 /**
    86      * @return Event dispatcher
    85      * @return Event dispatcher
    87      */
    86      */
    88     CXnKeyEventDispatcher* EventDispatcher() const;
    87     CXnKeyEventDispatcher* EventDispatcher() const;
    89     
    88     
    90     /**
    89     /**
    91      * Gets bg control
       
    92      * 
       
    93      * @since S60 5.0
       
    94      * return Bg control
       
    95      */        
       
    96     CCoeControl& BgControl() const;
       
    97 
       
    98     /**
       
    99      * Gets background manager
    90      * Gets background manager
   100      * 
    91      * 
   101      * @since S60 5.0
    92      * @since S60 5.0
   102      * return Background manager
    93      * return Background manager
   103      */        
    94      */        
   110      * return Focus control
   101      * return Focus control
   111      */        
   102      */        
   112     CXnFocusControl& FocusControl() const;  
   103     CXnFocusControl& FocusControl() const;  
   113 	
   104 	
   114 	 /**
   105 	 /**
   115      * updates rsk by mode
   106      * updates rsk by UI state
   116      * 
   107      * 
   117      * @since S60 5.0
   108      * @since S60 5.0
   118      */  
   109      */  
   119     void UpdateRskByModeL();
   110     void UpdateRskByUiStateL( const CXnViewData& aViewData );
   120 
   111 
   121     /**
   112     /**
   122      * Closes all popups for this container.
   113      * Closes all popups for this container.
   123      * 
   114      * 
   124      * @since S60 5.0
   115      * @since S60 5.0
   166     /**
   157     /**
   167      * @see MXnUiStateObserver
   158      * @see MXnUiStateObserver
   168      */
   159      */
   169     void NotifyInCallStateChaged( TBool aInCall );
   160     void NotifyInCallStateChaged( TBool aInCall );
   170         
   161         
   171 private:
   162 public:
   172     // new functions
   163     // new functions
   173 
   164 
   174     /**
   165     /**
   175      * Changes current container's controls state.
   166      * Changes current container's controls state.
   176      * 
   167      * 
   177      * @since S60 5.0
   168      * @since S60 5.0
   178      * @param aAwake ETrue if controls should exit from powersavemode, 
   169      * @param aAwake ETrue if controls should exit from powersavemode, 
   179      *               EFalse if controls should enter to powersavemode.
   170      *               EFalse if controls should enter to powersavemode.
   180      */
   171      */
   181     void ChangeControlsStateL( TBool aAwake );
   172     void ChangeControlsStateL( TBool aAwake );
       
   173     
       
   174 private:
       
   175     // new functions
   182     
   176     
   183     /**
   177     /**
   184      * Activates new container ro view. 
   178      * Activates new container ro view. 
   185      * Deactivates internally previous container if it exists.
   179      * Deactivates internally previous container if it exists.
   186      * This is always called from DoActivateL or from CXnViewManager.
   180      * This is always called from DoActivateL or from CXnViewManager.
   237 private:
   231 private:
   238     // Data
   232     // Data
   239 
   233 
   240     /** AppUi, Not owned */
   234     /** AppUi, Not owned */
   241     CXnAppUiAdapter& iAppUiAdapter;
   235     CXnAppUiAdapter& iAppUiAdapter;
   242     /** Bg control, Owned */
       
   243     CXnBgControl* iBgControl;
       
   244     /** Background manager, Owned */
   236     /** Background manager, Owned */
   245     CXnBackgroundManager* iBgManager;
   237     CXnBackgroundManager* iBgManager;
   246     /** Focus control, Owned */
   238     /** Focus control, Owned */
   247     CXnFocusControl* iFocusControl;
   239     CXnFocusControl* iFocusControl;
   248     /* Event dispatcher, Owned */
   240     /* Event dispatcher, Owned */