diff -r 2666d9724c76 -r d4f567ce2e7c phonebookui/Phonebook2/UIPolicy/inc/CPbk2ContactViewSortPolicy.h --- a/phonebookui/Phonebook2/UIPolicy/inc/CPbk2ContactViewSortPolicy.h Thu Jul 15 18:22:55 2010 +0300 +++ b/phonebookui/Phonebook2/UIPolicy/inc/CPbk2ContactViewSortPolicy.h Thu Aug 19 09:41:07 2010 +0300 @@ -73,6 +73,17 @@ TParam* aParam ); TInt PostProcessResult( TInt aSortUtilResult ); + /** + * Get the index of top contact field in sort order list + */ + TInt GetTopContactFieldIndex(); + /** + * Set sortkey array item from one field + */ + void SetSortKey( + CPbk2SortKeyArray* aSortKeyArray, + const MVPbkBaseContactField* aField, + TInt aIndex ); private: // Data /// Own: Sort Util to forward sorting requests @@ -90,6 +101,8 @@ TPbk2SortOrderFieldMapper iFieldMapper; /// Own: Indicates succesfull initialization TBool iSortPolicyParameterReceived; + /// Index of top contact field in iSortOrder + TInt iTopContactId; }; #endif // CPBK2CONTACTVIEWSORTPOLICY_H