equal
deleted
inserted
replaced
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * Version : %version: MM_12.1.10 % << Don't touch! Updated by Synergy at check-out. |
15 * Version : %version: MM_12.1.9 % << Don't touch! Updated by Synergy at check-out. |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 |
19 |
20 #ifndef MMLISTBOXVIEW_H |
20 #ifndef MMLISTBOXVIEW_H |
185 * Gets number of items in model. |
185 * Gets number of items in model. |
186 * |
186 * |
187 * @return |
187 * @return |
188 */ |
188 */ |
189 TInt ModelItemsCount(); |
189 TInt ModelItemsCount(); |
190 |
|
191 /** |
|
192 * Sets a proper flag if the list is brought to foreground. |
|
193 * |
|
194 * @param aCommingFromBackground indicates whether the list is brought to foreground. |
|
195 */ |
|
196 void SetListCommingFromBackground(TBool aCommingFromBackground); |
|
197 |
190 |
198 private: |
191 private: |
199 |
192 |
200 /** |
193 /** |
201 * Constructor for performing 1st stage construction. |
194 * Constructor for performing 1st stage construction. |
228 * Sets the previously drawn current item index. |
221 * Sets the previously drawn current item index. |
229 * |
222 * |
230 * @since S60 v3.0 |
223 * @since S60 v3.0 |
231 * @param aIndex Current Item index. |
224 * @param aIndex Current Item index. |
232 */ |
225 */ |
233 void SetPreviouslyDrawnCurrentItemIndex( TBool aIndex ); |
226 void SetPreviouslyDrawnCurrentItemIndex( TBool aIndex ); |
234 |
|
235 /** |
|
236 * Gets the flag indicating if the list is being brought to foreground. |
|
237 * @return Last item index. |
|
238 */ |
|
239 TBool GetListCommingFromBackground() const; |
|
240 |
|
241 |
227 |
242 private: |
228 private: |
243 |
229 |
244 /** |
230 /** |
245 * iCurrentItemIndex |
231 * iCurrentItemIndex |
248 |
234 |
249 /** |
235 /** |
250 * When ETrue, disables ScrollToMakeItemVisible method. |
236 * When ETrue, disables ScrollToMakeItemVisible method. |
251 */ |
237 */ |
252 TBool iScrollToItemDisabled; |
238 TBool iScrollToItemDisabled; |
253 |
|
254 /** |
|
255 * When ETrue the list is being brought from background |
|
256 */ |
|
257 TBool iListCommingFromBackground; |
|
258 }; |
239 }; |
259 |
240 |
260 #endif // MMLISTBOXVIEW_H |
241 #endif // MMLISTBOXVIEW_H |