phonebookui/Phonebook2/UIPolicy/inc/CPbk2ContactViewSortPolicy.h
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
equal deleted inserted replaced
17:2666d9724c76 18:d4f567ce2e7c
    71         CPbk2ContactViewSortPolicy();
    71         CPbk2ContactViewSortPolicy();
    72         void ConstructL(
    72         void ConstructL(
    73                 TParam* aParam );
    73                 TParam* aParam );
    74         TInt PostProcessResult(
    74         TInt PostProcessResult(
    75                 TInt aSortUtilResult );
    75                 TInt aSortUtilResult );
       
    76         /**
       
    77          * Get the index of top contact field in sort order list
       
    78          */
       
    79         TInt GetTopContactFieldIndex();
       
    80         /** 
       
    81          * Set sortkey array item from one field
       
    82          */
       
    83         void SetSortKey(
       
    84         		CPbk2SortKeyArray* aSortKeyArray,
       
    85         		const MVPbkBaseContactField* aField,
       
    86         		TInt aIndex );
    76 
    87 
    77     private: // Data
    88     private: // Data
    78         /// Own: Sort Util to forward sorting requests
    89         /// Own: Sort Util to forward sorting requests
    79         CSortUtil* iSortUtil;
    90         CSortUtil* iSortUtil;
    80         /// Own: Field type selector for pronunciation fields
    91         /// Own: Field type selector for pronunciation fields
    88         /// Own: Contact field mapper for mapping
    99         /// Own: Contact field mapper for mapping
    89         /// contact fields to sort order fields
   100         /// contact fields to sort order fields
    90         TPbk2SortOrderFieldMapper iFieldMapper;
   101         TPbk2SortOrderFieldMapper iFieldMapper;
    91         /// Own: Indicates succesfull initialization
   102         /// Own: Indicates succesfull initialization
    92         TBool iSortPolicyParameterReceived;
   103         TBool iSortPolicyParameterReceived;
       
   104         /// Index of top contact field in iSortOrder
       
   105         TInt iTopContactId;
    93     };
   106     };
    94 
   107 
    95 #endif // CPBK2CONTACTVIEWSORTPOLICY_H
   108 #endif // CPBK2CONTACTVIEWSORTPOLICY_H
    96 
   109 
    97 // End of File
   110 // End of File