equal
deleted
inserted
replaced
34 /** |
34 /** |
35 * Phone number matching strategy. This is the base class of actual |
35 * Phone number matching strategy. This is the base class of actual |
36 * implementations, but instances of the strategies are created using |
36 * implementations, but instances of the strategies are created using |
37 * this classes NewL function. Actual implementation selection is done |
37 * this classes NewL function. Actual implementation selection is done |
38 * based on the given configuration data. |
38 * based on the given configuration data. |
|
39 * In case of multiple matches from different stores, results from store |
|
40 * configured in Phonebook 2 settings are returned. Only if no match |
|
41 * is found from configured store(s), then return matches from other stores. |
39 */ |
42 */ |
40 class CVPbkPhoneNumberMatchStrategy : public CBase |
43 class CVPbkPhoneNumberMatchStrategy : public CBase |
41 { |
44 { |
42 public: // Types |
45 public: // Types |
43 /** |
46 /** |
181 /** |
184 /** |
182 * Returns array of stores that are used in matching. |
185 * Returns array of stores that are used in matching. |
183 * @return Array of stores that are used in matching. |
186 * @return Array of stores that are used in matching. |
184 */ |
187 */ |
185 TArray<MVPbkContactStore*> StoresToMatch() const; |
188 TArray<MVPbkContactStore*> StoresToMatch() const; |
186 |
189 |
|
190 /** |
|
191 * Checks if contact store is SIM store. |
|
192 * @param aStore Store to be checked. |
|
193 * @return ETrue if aStore is SIM store, otherwise EFalse. |
|
194 */ |
|
195 TBool IsSimStore( const MVPbkContactStore& aStore ); |
|
196 |
187 private: // Interface for derived classes to implement |
197 private: // Interface for derived classes to implement |
188 /** |
198 /** |
189 * Called from MatchL to indicate derived classes that |
199 * Called from MatchL to indicate derived classes that |
190 * matching is about to start. |
200 * matching is about to start. |
191 */ |
201 */ |