idlehomescreen/xmluirendering/uiengine/inc/xnviewadapter.h
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
equal deleted inserted replaced
34:5456b4e8b3a8 35:3321d3e205b6
   175      * 
   175      * 
   176      * @since S60 5.0
   176      * @since S60 5.0
   177      * @param aContainer Container to activate
   177      * @param aContainer Container to activate
   178      * @param aEnterEditState ETrue if activated container should be set to edit state.
   178      * @param aEnterEditState ETrue if activated container should be set to edit state.
   179      * @param aEffect Effect uid, default no effect
   179      * @param aEffect Effect uid, default no effect
       
   180      * @param aUpdateBg Whether to update wallpaper or not. 
   180      */
   181      */
   181     void ActivateContainerL( CXnViewData& aContainer, 
   182     void ActivateContainerL( CXnViewData& aContainer, 
   182         TBool aEnterEditState = EFalse, TUid aEffect = TUid::Null() );
   183         TBool aEnterEditState = EFalse, TUid aEffect = TUid::Null(), 
   183     
   184         TBool aUpdateBg = ETrue );
       
   185 
       
   186     /**
       
   187      * Sets edit state property of container
       
   188      * 
       
   189      * @since S60 5.0
       
   190      * @param aView container
       
   191      * @param aEnter ETrue if container should be set to edit state.
       
   192      */
       
   193     void EnterEditStateL( CXnViewData& aView, TBool aEnter );
       
   194 
   184 private:
   195 private:
   185     // new functions
   196     // new functions
   186     
   197     
   187     /**
   198     /**
   188      * Deactivates the current container from view.      
   199      * Deactivates the current container from view.      
   198      * 
   209      * 
   199      * @since S60 5.0
   210      * @since S60 5.0
   200      * @param aEnterEditState ETrue if default container should be set to edit state.
   211      * @param aEnterEditState ETrue if default container should be set to edit state.
   201      */
   212      */
   202     void ActivateDefaultContainerL( TBool aEnterEditState = EFalse );
   213     void ActivateDefaultContainerL( TBool aEnterEditState = EFalse );
   203 
       
   204     /**
       
   205      * Sets edit state property of container
       
   206      * 
       
   207      * @since S60 5.0
       
   208      * @param aView container
       
   209      * @param aEnter ETrue if container should be set to edit state.
       
   210      */
       
   211     void EnterEditStateL( CXnViewData& aView, TBool aEnter );
       
   212     
   214     
   213     /**
   215     /**
   214      * Callback function to be used with CPeriodic.
   216      * Callback function to be used with CPeriodic.
   215      */
   217      */
   216     static TInt TimerCallback( TAny *aPtr );
   218     static TInt TimerCallback( TAny *aPtr );