diff -r c8b9b0986973 -r 23553eb4e470 gssettingsuis/Gs/GSApplication/Inc/GSMainContainer.h --- a/gssettingsuis/Gs/GSApplication/Inc/GSMainContainer.h Fri Mar 12 15:43:47 2010 +0200 +++ b/gssettingsuis/Gs/GSApplication/Inc/GSMainContainer.h Mon Mar 15 12:41:46 2010 +0200 @@ -22,7 +22,7 @@ #include #include #include // For loading icons - +#include // CLASS DECLARATION class CAknViewAppUi; class CAknSingleLargeStyleListBox; @@ -81,15 +81,17 @@ void SetListBoxEmptyTextL(const TDes& aEmpty); /** - * @return the exact position of the listbox containing current item index, - * iVerticalOffset and TopItemindex + * Store listbox's exact position. + * @param aPosition includes the exact position of the listbox. */ - void GetPositionL(RArray& aPosition); + void StoreListBoxPositionL( CGSMainView::TListBoxPosition& aPosition ); /** - * set listbox's exact position. + * Restore listbox's exact position. + * @param aPosition includes the exact position of the listbox. + * @param aScreenModeChanged indicates whether the screen mode is changed. */ - void SetPosition(const RArray& aPosition, TBool aChangeMode); + void RestoreListBoxPositionL( const CGSMainView::TListBoxPosition& aPosition, TBool aScreenModeChanged ); public: // From CCoeControl