phoneengine/PhoneCntFinder/ContactService/inc/CPhCntMatcherImpl.h
branchRCL_3
changeset 81 c26cc2a7c548
parent 62 5266b1f337bd
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
    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"
       
    26 
    24 
    27 class MPhCntContactStores;
    25 class MPhCntContactStores;
    28 class CPhCntContactManager;
    26 class CPhCntContactManager;
    29 class CPhCntContact;
    27 class CPhCntContact;
    30 class CPhCntMatchContact;
    28 class CPhCntMatchContact;
   165      * @return Error code.
   163      * @return Error code.
   166      */
   164      */
   167     TInt GetContactL(
   165     TInt GetContactL(
   168         MPhCntMatch*& aMatch,
   166         MPhCntMatch*& aMatch,
   169         const TDesC& aTelNumber );
   167         const TDesC& aTelNumber );
   170     
   168 
   171     /**
   169     /**
   172      * Matches contacts
   170      * Match contacts against product specific stores.
   173      */
   171      *
   174     TInt MatchContactL( 
   172      * @since S60 v3.2
   175         const MVPbkContactLinkArray*& aContactLinkArray, 
   173      * @param aLinkArray Array of contacts to match
   176         const TDesC& aTelNumber,
   174      * @return Error code.
   177         MPhCntContactManager::TDuplicateRemovalStrategy aRemoveDuplicatesStrategy );
   175      */
       
   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;
       
   265 
   262 
   266     };
   263     };
   267 
   264 
   268 #endif // CPHCNTCNTMATCHERIMPL_H
   265 #endif // CPHCNTCNTMATCHERIMPL_H