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. |
|
181 */ |
180 */ |
182 void ActivateContainerL( CXnViewData& aContainer, |
181 void ActivateContainerL( CXnViewData& aContainer, |
183 TBool aEnterEditState = EFalse, TUid aEffect = TUid::Null(), |
182 TBool aEnterEditState = EFalse, TUid aEffect = TUid::Null() ); |
184 TBool aUpdateBg = ETrue ); |
183 |
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 |
|
195 /** |
|
196 * Tell if this adapter is on foreground. Returns EFalse immediately after |
|
197 * adapter is deactivated (Avkon IsForeground has some delay). |
|
198 * @since S60 5.0 |
|
199 * @return ETrue if container is on foreground, EFalse otherwise |
|
200 */ |
|
201 TBool IsForegroundAdapter() const; |
|
202 |
|
203 private: |
184 private: |
204 // new functions |
185 // new functions |
205 |
186 |
206 /** |
187 /** |
207 * Deactivates the current container from view. |
188 * Deactivates the current container from view. |
217 * |
198 * |
218 * @since S60 5.0 |
199 * @since S60 5.0 |
219 * @param aEnterEditState ETrue if default container should be set to edit state. |
200 * @param aEnterEditState ETrue if default container should be set to edit state. |
220 */ |
201 */ |
221 void ActivateDefaultContainerL( TBool aEnterEditState = EFalse ); |
202 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 ); |
222 |
212 |
223 /** |
213 /** |
224 * Callback function to be used with CPeriodic. |
214 * Callback function to be used with CPeriodic. |
225 */ |
215 */ |
226 static TInt TimerCallback( TAny *aPtr ); |
216 static TInt TimerCallback( TAny *aPtr ); |