phonebookengines/contactsmodel/inc/CNTDB.H
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 0 e686773b3f54
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
    80 Maximum number of fields that can be set as filterable fields by licensees.
    80 Maximum number of fields that can be set as filterable fields by licensees.
    81 @publishedAll
    81 @publishedAll
    82 @released
    82 @released
    83 */
    83 */
    84 const TInt KMaxCustomFilterableFields=4;
    84 const TInt KMaxCustomFilterableFields=4;
       
    85 
       
    86 /** 
       
    87 Enables searching for best matching strategy: 
       
    88 Leading zeros are removed then shorter number must be substring of second one.
       
    89 @see CContactDatabase::MatchPhoneNumberL
       
    90 @publishedAll
       
    91 @released
       
    92 */
       
    93 const TInt KBestMatchingPhoneNumbers=0;
    85 
    94 
    86 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    95 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    87 
    96 
    88 /** @internalComponent */
    97 /** @internalComponent */
    89 const TInt KMajorVersion=1;
    98 const TInt KMajorVersion=1;
   861 	IMPORT_C void CloseTables();
   870 	IMPORT_C void CloseTables();
   862 	IMPORT_C void OpenTablesL();
   871 	IMPORT_C void OpenTablesL();
   863 
   872 
   864 	//New Phone Matching function, takes a number as a TDesc& and will match from the right of the string
   873 	//New Phone Matching function, takes a number as a TDesc& and will match from the right of the string
   865 	//by the the number defined
   874 	//by the the number defined
       
   875 	//use KBestMatchingPhoneNumbers as second parameter to enable best matching number strategy
   866 	IMPORT_C CContactIdArray* MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight);
   876 	IMPORT_C CContactIdArray* MatchPhoneNumberL(const TDesC& aNumber, TInt aMatchLengthFromRight);
   867 
   877 
   868 
   878 
   869 	IMPORT_C const CContactIdArray* SortedItemsL();
   879 	IMPORT_C const CContactIdArray* SortedItemsL();
   870 	IMPORT_C TContactItemId TemplateId() const;
   880 	IMPORT_C TContactItemId TemplateId() const;