108 }; |
108 }; |
109 |
109 |
110 /** |
110 /** |
111 * Match number to phonebook. |
111 * Match number to phonebook. |
112 * @param aMatch Found match, owership tranferred. NULL if not found any. |
112 * @param aMatch Found match, owership tranferred. NULL if not found any. |
113 * @param aNumber Number to match against. |
113 * @param aMatchString Number to match against. |
114 * @return Error code: KErrNone - one match found |
114 * @return Error code: KErrNone - one match found |
115 * KErrNotFound - no matches found |
115 * KErrNotFound - no matches found |
116 * other - normal Symbian OS error |
116 * other - normal Symbian OS error |
117 */ |
117 */ |
118 TInt MatchVoipNumber( |
118 TInt MatchVoipNumber( |
119 MPhCntMatch*& aMatch, |
119 MPhCntMatch*& aMatch, |
120 const TDesC& aNumber, |
120 const TDesC& aMatchString, |
121 TBool aAllowUserNameMatch, |
121 TBool aAllowUserNameMatch, |
122 MDesCArray* aContactStoreUris, |
122 MDesCArray* aContactStoreUris, |
123 TInt aCharsForMatching = 0 ); |
123 TInt aCharsForMatching = 0 ); |
124 |
124 |
125 /** |
125 /** |
126 * From CPhCntMatcher, gets VoIP call contact info from phonebook |
126 * From CPhCntMatcher, gets VoIP call contact info from phonebook |
127 * by contact id. |
127 * by contact id. |
128 * @since Series60 3.0 |
128 * @since Series60 3.0 |
129 * @param aMatch for found match, owership tranferred. Empty if not found. |
129 * @param aMatch for found match, owership tranferred. Empty if not found. |
|
130 * @param aMatchString Number to match against. |
130 * @param aContactId for current contact. |
131 * @param aContactId for current contact. |
131 * @return Error code: KErrNone - VoIP call contact found |
132 * @return Error code: KErrNone - VoIP call contact found |
132 * KErrNotFound - no VoIP call contact found |
133 * KErrNotFound - no VoIP call contact found |
133 * other - normal Symbian OS error |
134 * other - normal Symbian OS error |
134 */ |
135 */ |
135 TInt MatchVoipNumber( |
136 TInt MatchVoipNumber( |
136 MPhCntMatch*& aMatch, |
137 MPhCntMatch*& aMatch, |
|
138 const TDesC& aMatchString, |
137 const CPhCntContactId& aContactId ); |
139 const CPhCntContactId& aContactId ); |
138 |
140 |
139 |
141 |
140 /** |
142 /** |
141 * From CPhCntMatcher |
143 * From CPhCntMatcher |