phonebookengines/contactsmodel/inc/CNTDB.H
branchRCL_3
changeset 26 0d28c1c5b6dd
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
--- a/phonebookengines/contactsmodel/inc/CNTDB.H	Wed Apr 14 15:45:35 2010 +0300
+++ b/phonebookengines/contactsmodel/inc/CNTDB.H	Tue Apr 27 16:23:35 2010 +0300
@@ -83,6 +83,15 @@
 */
 const TInt KMaxCustomFilterableFields=4;
 
+/** 
+Enables searching for best matching strategy: 
+Leading zeros are removed then shorter number must be substring of second one.
+@see CContactDatabase::MatchPhoneNumberL
+@publishedAll
+@released
+*/
+const TInt KBestMatchingPhoneNumbers=0;
+
 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
 
 /** @internalComponent */
@@ -863,6 +872,7 @@
 
 	//New Phone Matching function, takes a number as a TDesc& and will match from the right of the string
 	//by the the number defined
+	//use KBestMatchingPhoneNumbers as second parameter to enable best matching number strategy
 	IMPORT_C CContactIdArray* MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight);