phoneengine/PhoneCntFinder/ContactService/inc/MPhCntContactManager.h
branchRCL_3
changeset 58 40a3f856b14d
parent 0 5f000ab63145
--- a/phoneengine/PhoneCntFinder/ContactService/inc/MPhCntContactManager.h	Thu Jul 15 18:38:16 2010 +0300
+++ b/phoneengine/PhoneCntFinder/ContactService/inc/MPhCntContactManager.h	Thu Aug 19 09:54:27 2010 +0300
@@ -51,6 +51,11 @@
     {
 public:
     
+    enum TDuplicateRemovalStrategy {
+        ERemoveDuplicates,
+        EDontRemoveDuplicates
+    };
+    
     /**
      * Retrieves contact from phonebook.
      * 
@@ -76,11 +81,12 @@
      *
      * @since S60 v3.1
      * @param aObserver Contact match strategy observer.
+     * @param aStrategy Contact dupe removal strategy
      * @return New contact match strategy instance.
      */
     virtual MPhCntContactMatchStrategy* CreateContactMatchStrategyL(
         MVPbkContactFindObserver& aObserver,
-        TBool aRemoveDuplicates )= 0;
+        TDuplicateRemovalStrategy aStrategy )= 0;
     
     /**
      * Gives access to contact name formatter.
@@ -226,4 +232,4 @@
     virtual ~MPhCntContactManager() {};
     };
 
-#endif 
\ No newline at end of file
+#endif