equal
deleted
inserted
replaced
49 */ |
49 */ |
50 NONSHARABLE_CLASS( MPhCntContactManager ) |
50 NONSHARABLE_CLASS( MPhCntContactManager ) |
51 { |
51 { |
52 public: |
52 public: |
53 |
53 |
|
54 enum TDuplicateRemovalStrategy { |
|
55 ERemoveDuplicates, |
|
56 EDontRemoveDuplicates |
|
57 }; |
|
58 |
54 /** |
59 /** |
55 * Retrieves contact from phonebook. |
60 * Retrieves contact from phonebook. |
56 * |
61 * |
57 * @since S60 v3.1 |
62 * @since S60 v3.1 |
58 * @param aLink Link to the contact. |
63 * @param aLink Link to the contact. |
74 /** |
79 /** |
75 * Factory method for creating contact match strategy. |
80 * Factory method for creating contact match strategy. |
76 * |
81 * |
77 * @since S60 v3.1 |
82 * @since S60 v3.1 |
78 * @param aObserver Contact match strategy observer. |
83 * @param aObserver Contact match strategy observer. |
|
84 * @param aStrategy Contact dupe removal strategy |
79 * @return New contact match strategy instance. |
85 * @return New contact match strategy instance. |
80 */ |
86 */ |
81 virtual MPhCntContactMatchStrategy* CreateContactMatchStrategyL( |
87 virtual MPhCntContactMatchStrategy* CreateContactMatchStrategyL( |
82 MVPbkContactFindObserver& aObserver, |
88 MVPbkContactFindObserver& aObserver, |
83 TBool aRemoveDuplicates )= 0; |
89 TDuplicateRemovalStrategy aStrategy )= 0; |
84 |
90 |
85 /** |
91 /** |
86 * Gives access to contact name formatter. |
92 * Gives access to contact name formatter. |
87 * |
93 * |
88 * @since S60 v3.1 |
94 * @since S60 v3.1 |