CPhCntMatcher Class Reference

class CPhCntMatcher : public CBase

Abstract class for making matches.

PhoneCntFinder
Since
1.0

Inherits from

Member Functions Documentation

HasCSNumbers(const CPhCntContactId &)

TBool HasCSNumbers ( const CPhCntContactId & aContactId ) [pure virtual]

Determines if contact has other type of numbers than VoIP numbers.

Since
S60 v3.2.

Parameters

const CPhCntContactId & aContactId Id of the contact.

MatchNumber(MPhCntMatch *&, const TDesC &)

TInt MatchNumber ( MPhCntMatch *& aMatch,
const TDesC & aTelNumber
) [pure virtual]

Match number to phonebook.

Parameters

MPhCntMatch *& aMatch Found match, owership tranferred. NULL if not found any.
const TDesC & aTelNumber Number to match against.

MatchNumber(MPhCntMatch *&, const TDesC &, const CPhCntContactId &)

TInt MatchNumber ( MPhCntMatch *& aMatch,
const TDesC & aTelNumber,
const CPhCntContactId & aContactLink
) [pure virtual]

Match number to phonebook.

Parameters

MPhCntMatch *& aMatch Found match, owership tranferred. NULL if not found any.
const TDesC & aTelNumber Number to match against.
const CPhCntContactId & aContactLink

MatchNumber(MPhCntMatch *&, const TDesC &, const CPhCntContactId &, MPhCntMatch::TNumberType)

TInt MatchNumber ( MPhCntMatch *& aMatch,
const TDesC & aTelNumber,
const CPhCntContactId & aContactId,
MPhCntMatch::TNumberType aNumberType
) [pure virtual]

Match number to phonebook.

Parameters

MPhCntMatch *& aMatch Found match, owership tranferred. NULL if not found any.
const TDesC & aTelNumber Number to match against.
const CPhCntContactId & aContactId Current contact.
MPhCntMatch::TNumberType aNumberType

MatchVoipNumber(MPhCntMatch *&, const TDesC &, const TBool, MDesCArray *, TInt)

TInt MatchVoipNumber ( MPhCntMatch *& aMatch,
const TDesC & aNumber,
const TBool aAllowUsernameMatch,
MDesCArray * aContactStoreUris,
TInt aCharsForMatching = 0
) [pure virtual]

Match number to phonebook.

Parameters

MPhCntMatch *& aMatch Found match, owership tranferred. NULL if not found any.
const TDesC & aNumber Number to match against.
const TBool aAllowUsernameMatch is ETrue if username is sufficient for match.
MDesCArray * aContactStoreUris Pointer to array containing store uris
TInt aCharsForMatching = 0 Length of string to be used in matching. Starts from the end of VoIP number. Domain part not included for matching.

MatchVoipNumber(MPhCntMatch *&, const CPhCntContactId &)

TInt MatchVoipNumber ( MPhCntMatch *& aMatch,
const CPhCntContactId & aContactId
) [pure virtual]
Gets VoIP call contact info from phonebook by contact id.
Since
Series60 3.0

Parameters

MPhCntMatch *& aMatch for found match, owership tranferred. Empty if not found.
const CPhCntContactId & aContactId for current contact.