phoneengine/PhoneCntFinder/ContactService/inc/CPhCntMatcherImpl.h
branchRCL_3
changeset 57 94dc1107e8b2
parent 0 5f000ab63145
child 58 40a3f856b14d
equal deleted inserted replaced
44:3c221667e687 57:94dc1107e8b2
    43  */
    43  */
    44 NONSHARABLE_CLASS( CPhCntMatcherImpl ) : public CPhCntMatcher
    44 NONSHARABLE_CLASS( CPhCntMatcherImpl ) : public CPhCntMatcher
    45     {
    45     {
    46 public:
    46 public:
    47 
    47 
    48 	/**
    48     /**
    49 	 * Static constructor.
    49      * Static constructor.
    50 	 *
    50      *
    51 	 * @since S60 v3.1
    51      * @since S60 v3.1
    52 	 * @param aOwner Phonebook owner.
    52      * @param aOwner Phonebook owner.
    53 	 */
    53      */
    54     static CPhCntMatcherImpl* NewL( const MPhoneCntPbkOwner& aOwner );
    54     static CPhCntMatcherImpl* NewL( const MPhoneCntPbkOwner& aOwner );
    55 
    55 
    56     /**
    56     /**
    57      * Destructor.
    57      * Destructor.
    58      *
    58      *
   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