phoneengine/PhoneCntFinder/ContactService/inc/CPhCntMatcherImpl.h
branchRCL_3
changeset 58 40a3f856b14d
parent 57 94dc1107e8b2
equal deleted inserted replaced
57:94dc1107e8b2 58:40a3f856b14d
    19 #define CPHCNTCNTMATCHERIMPL_H
    19 #define CPHCNTCNTMATCHERIMPL_H
    20 
    20 
    21 #include <e32base.h>
    21 #include <e32base.h>
    22 #include "CPhCntMatcher.h"
    22 #include "CPhCntMatcher.h"
    23 #include "MVPbkContactLink.h"
    23 #include "MVPbkContactLink.h"
       
    24 #include "MPhCntContactManager.h"
       
    25 #include "tphcntcontactselectionstrategy.h"
    24 
    26 
    25 class MPhCntContactStores;
    27 class MPhCntContactStores;
    26 class CPhCntContactManager;
    28 class CPhCntContactManager;
    27 class CPhCntContact;
    29 class CPhCntContact;
    28 class CPhCntMatchContact;
    30 class CPhCntMatchContact;
   163      * @return Error code.
   165      * @return Error code.
   164      */
   166      */
   165     TInt GetContactL(
   167     TInt GetContactL(
   166         MPhCntMatch*& aMatch,
   168         MPhCntMatch*& aMatch,
   167         const TDesC& aTelNumber );
   169         const TDesC& aTelNumber );
   168 
   170     
   169     /**
   171     /**
   170      * Match contacts against product specific stores.
   172      * Matches contacts
   171      *
   173      */
   172      * @since S60 v3.2
   174     TInt MatchContactL( 
   173      * @param aLinkArray Array of contacts to match
   175         const MVPbkContactLinkArray*& aContactLinkArray, 
   174      * @return Error code.
   176         const TDesC& aTelNumber,
   175      */
   177         MPhCntContactManager::TDuplicateRemovalStrategy aRemoveDuplicatesStrategy );
   176     TInt MatchFromAdditionalStore( const MVPbkContactLinkArray& aLinkArray ) const;
       
   177 
       
   178 
   178 
   179 protected:
   179 protected:
   180 
   180 
   181     CPhCntMatcherImpl( const MPhoneCntPbkOwner& aOwner );
   181     CPhCntMatcherImpl( const MPhoneCntPbkOwner& aOwner );
   182 
   182 
   257     /**
   257     /**
   258      * Match strategy used for CS calls.
   258      * Match strategy used for CS calls.
   259      * Own.
   259      * Own.
   260      */
   260      */
   261     MPhCntContactMatchStrategy* iCSMatchStrategy;
   261     MPhCntContactMatchStrategy* iCSMatchStrategy;
       
   262     
       
   263     
       
   264     TPhCntContactSelectionStrategy iContactSelectionStrategy;
   262 
   265 
   263     };
   266     };
   264 
   267 
   265 #endif // CPHCNTCNTMATCHERIMPL_H
   268 #endif // CPHCNTCNTMATCHERIMPL_H