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 & aContactIdId of the contact.

MatchNumber(MPhCntMatch *&, const TDesC &)

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

Match number to phonebook.

Parameters

MPhCntMatch *& aMatchFound match, owership tranferred. NULL if not found any.
const TDesC & aTelNumberNumber 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 *& aMatchFound match, owership tranferred. NULL if not found any.
const TDesC & aTelNumberNumber 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::TNumberTypeaNumberType
)[pure virtual]

Match number to phonebook.

Parameters

MPhCntMatch *& aMatchFound match, owership tranferred. NULL if not found any.
const TDesC & aTelNumberNumber to match against.
const CPhCntContactId & aContactIdCurrent contact.
MPhCntMatch::TNumberType aNumberType

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

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

Match number to phonebook.

Parameters

MPhCntMatch *& aMatchFound match, owership tranferred. NULL if not found any.
const TDesC & aNumberNumber to match against.
const TBool aAllowUsernameMatchis ETrue if username is sufficient for match.
MDesCArray * aContactStoreUrisPointer to array containing store uris
TInt aCharsForMatching = 0Length 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 *& aMatchfor found match, owership tranferred. Empty if not found.
const CPhCntContactId & aContactIdfor current contact.