diff -r 5456b4e8b3a8 -r 3321d3e205b6 menufw/menufwui/mmwidgets/inc/mmlistboxview.h --- a/menufw/menufwui/mmwidgets/inc/mmlistboxview.h Wed Sep 01 12:32:46 2010 +0100 +++ b/menufw/menufwui/mmwidgets/inc/mmlistboxview.h Tue Sep 14 20:58:58 2010 +0300 @@ -12,7 +12,7 @@ * Contributors: * * Description: -* Version : %version: MM_12.1.9 % << Don't touch! Updated by Synergy at check-out. +* Version : %version: MM_12.1.10 % << Don't touch! Updated by Synergy at check-out. * */ @@ -187,6 +187,13 @@ * @return */ TInt ModelItemsCount(); + + /** + * Sets a proper flag if the list is brought to foreground. + * + * @param aCommingFromBackground indicates whether the list is brought to foreground. + */ + void SetListCommingFromBackground(TBool aCommingFromBackground); private: @@ -223,7 +230,14 @@ * @since S60 v3.0 * @param aIndex Current Item index. */ - void SetPreviouslyDrawnCurrentItemIndex( TBool aIndex ); + void SetPreviouslyDrawnCurrentItemIndex( TBool aIndex ); + + /** + * Gets the flag indicating if the list is being brought to foreground. + * @return Last item index. + */ + TBool GetListCommingFromBackground() const; + private: @@ -236,6 +250,11 @@ * When ETrue, disables ScrollToMakeItemVisible method. */ TBool iScrollToItemDisabled; + + /** + * When ETrue the list is being brought from background + */ + TBool iListCommingFromBackground; }; #endif // MMLISTBOXVIEW_H