100 MPhCntMatch::TNumberType aNumberType ) = 0; |
100 MPhCntMatch::TNumberType aNumberType ) = 0; |
101 |
101 |
102 /** |
102 /** |
103 * Match number to phonebook. |
103 * Match number to phonebook. |
104 * @param aMatch Found match, owership tranferred. NULL if not found any. |
104 * @param aMatch Found match, owership tranferred. NULL if not found any. |
105 * @param aNumber Number to match against. |
105 * @param aMatchString Number to match against. |
106 * @param aAllowUsernameMatch |
106 * @param aAllowUsernameMatch |
107 * is ETrue if username is sufficient for match. |
107 * is ETrue if username is sufficient for match. |
108 * @param aContactStoreUris |
108 * @param aContactStoreUris |
109 * Pointer to array containing store uris |
109 * Pointer to array containing store uris |
110 * @param aCharsForMatching Length of string to be used in matching. |
110 * @param aCharsForMatching Length of string to be used in matching. |
114 * KErrNotFound - no matches found |
114 * KErrNotFound - no matches found |
115 * other - normal Symbian OS error |
115 * other - normal Symbian OS error |
116 */ |
116 */ |
117 virtual TInt MatchVoipNumber( |
117 virtual TInt MatchVoipNumber( |
118 MPhCntMatch*& aMatch, |
118 MPhCntMatch*& aMatch, |
119 const TDesC& aNumber, |
119 const TDesC& aMatchString, |
120 const TBool aAllowUsernameMatch, |
120 const TBool aAllowUsernameMatch, |
121 MDesCArray* aContactStoreUris, |
121 MDesCArray* aContactStoreUris, |
122 TInt aCharsForMatching = 0 ) = 0; |
122 TInt aCharsForMatching = 0 ) = 0; |
123 |
123 |
124 /** |
124 /** |
125 * Gets VoIP call contact info from phonebook |
125 * Gets VoIP call contact info from phonebook |
126 * by contact id. |
126 * by contact id. |
127 * @since Series60 3.0 |
127 * @since Series60 3.0 |
128 * @param aMatch for found match, owership tranferred. Empty if not found. |
128 * @param aMatch for found match, owership tranferred. Empty if not found. |
|
129 * @param aMatchString Number to match against. |
129 * @param aContactId for current contact. |
130 * @param aContactId for current contact. |
130 * @return Error code: KErrNone - VoIP call contact found |
131 * @return Error code: KErrNone - VoIP call contact found |
131 * KErrNotFound - no VoIP call contact found |
132 * KErrNotFound - no VoIP call contact found |
132 * other - normal Symbian OS error |
133 * other - normal Symbian OS error |
133 */ |
134 */ |
134 virtual TInt MatchVoipNumber( |
135 virtual TInt MatchVoipNumber( |
135 MPhCntMatch*& aMatch, |
136 MPhCntMatch*& aMatch, |
|
137 const TDesC& aMatchString, |
136 const CPhCntContactId& aContactId ) = 0; |
138 const CPhCntContactId& aContactId ) = 0; |
137 |
139 |
138 /** |
140 /** |
139 * Determines if contact has other type of numbers |
141 * Determines if contact has other type of numbers |
140 * than VoIP numbers. |
142 * than VoIP numbers. |