MVPbkContactFieldOrdering Class Reference

#include <app/MVPbkContactFieldOrdering.h>

class MVPbkContactFieldOrdering
Public Member Functions
pure virtual TInt CompareFields(const MVPbkBaseContactField &, const MVPbkBaseContactField &)
virtual TAny *ContactFieldOrderingExtension(TUid)
Protected Member Functions
virtual ~MVPbkContactFieldOrdering()

Detailed Description

Virtual Phonebook Contact field ordering interface. This inteface is used for comparing two contact fields, when setting up a field ordering.

Constructor & Destructor Documentation

~MVPbkContactFieldOrdering ( )

~MVPbkContactFieldOrdering()[protected, inline, virtual]

Destructor.

Member Function Documentation

CompareFields ( const MVPbkBaseContactField &, const MVPbkBaseContactField & )

TInt CompareFields(const MVPbkBaseContactField &aLhs,
const MVPbkBaseContactField &aRhs
)const [pure virtual]

Returns the relative ordering of two fields.

ParameterDescription
aLhsLeft-hand side of the compare.
aRhsRight-hand side of the compare.

Returns: <0 if aLhs < aRhs, >0 if aLhs > aRhs or 0 if aLhs==aRhs.

ContactFieldOrderingExtension ( TUid )

TAny *ContactFieldOrderingExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL.