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 & aLhs Left hand side of the comparison.
const MVPbkViewContact & aRhs Right hand side of the comparison.

CompareItems(const MVPbkSortKeyArray &, const MVPbkSortKeyArray &)

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

Parameters

const MVPbkSortKeyArray & aLhs the left-hand-side sort key array.
const MVPbkSortKeyArray & aRhs the 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 &)

void SetSortOrderL ( const MVPbkFieldTypeList & aSortOrder ) [pure virtual]

Sets new sort order for the policy.

Parameters

const MVPbkFieldTypeList & aSortOrder New sort order.

SortCompleted()

void SortCompleted ( ) [pure virtual]

Indicates that the sort has completed.

SortStartL()

void SortStartL ( ) [pure virtual]

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