MVPbkContactViewSortPolicy Class Reference

class MVPbkContactViewSortPolicy

Virtual Phonebook Contact view sort policy.

Constructor & Destructor Documentation

~MVPbkContactViewSortPolicy()

~MVPbkContactViewSortPolicy()[inline, virtual]

Member Functions Documentation

CompareContacts(const MVPbkViewContact &, const MVPbkViewContact &)

TInt CompareContacts(const MVPbkViewContact &aLhs,
const MVPbkViewContact &aRhs
)[pure virtual]

Compares two view contacts.

Parameters

const MVPbkViewContact & aLhsLeft hand side of the comparison.
const MVPbkViewContact & aRhsRight hand side of the comparison.

CompareItems(const MVPbkSortKeyArray &, const MVPbkSortKeyArray &)

TInt CompareItems(const MVPbkSortKeyArray &aLhs,
const MVPbkSortKeyArray &aRhs
)const [pure virtual]

Parameters

const MVPbkSortKeyArray & aLhsthe left-hand-side sort key array.
const MVPbkSortKeyArray & aRhsthe right-hand-side sort key array.

ContactViewSortPolicyExtension(TUid)

TAny *ContactViewSortPolicyExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

SetSortOrderL(const MVPbkFieldTypeList &)

voidSetSortOrderL(const MVPbkFieldTypeList &aSortOrder)[pure virtual]

Sets new sort order for the policy.

Parameters

const MVPbkFieldTypeList & aSortOrderNew sort order.

SortCompleted()

voidSortCompleted()[pure virtual]

Indicates that the sort has completed.

SortStartL()

voidSortStartL()[pure virtual]

Indicates that the sort is about to start. SetSortOrderL has been called.