equal
deleted
inserted
replaced
53 * |
53 * |
54 * @since S60 v3.1 |
54 * @since S60 v3.1 |
55 * @param aContactManager Contact manager. |
55 * @param aContactManager Contact manager. |
56 * @param aUriArray Array of contact store URI's used. |
56 * @param aUriArray Array of contact store URI's used. |
57 * @param aObserver Observer for finding contacts. |
57 * @param aObserver Observer for finding contacts. |
|
58 * @param aMatchFlags A bitset of flags for matching strategy. Has zero or |
|
59 * more CVPbkPhoneNumberMatchStrategy::TVPbkPhoneNumberMatchFlags flags set. |
58 */ |
60 */ |
59 static CPhCntContactMatchStrategy* NewL( |
61 static CPhCntContactMatchStrategy* NewL( |
60 CVPbkContactManager& aContactManager, |
62 CVPbkContactManager& aContactManager, |
61 CPhCntContactStoreUris& aContactStoreUris, |
63 CPhCntContactStoreUris& aContactStoreUris, |
62 MVPbkContactFindObserver& aObserver, |
64 MVPbkContactFindObserver& aObserver, |
63 CVPbkPhoneNumberMatchStrategy::TVPbkPhoneNumberMatchFlags aMatchFlag ); |
65 TUint32 aMatchFlags ); |
64 |
66 |
65 /** |
67 /** |
66 * Destructor. |
68 * Destructor. |
67 * |
69 * |
68 * @since S60 v3.1 |
70 * @since S60 v3.1 |
133 |
135 |
134 CPhCntContactMatchStrategy( |
136 CPhCntContactMatchStrategy( |
135 CVPbkContactManager& aContactManager, |
137 CVPbkContactManager& aContactManager, |
136 CPhCntContactStoreUris& aContactStoreUris, |
138 CPhCntContactStoreUris& aContactStoreUris, |
137 MVPbkContactFindObserver& aObserver, |
139 MVPbkContactFindObserver& aObserver, |
138 CVPbkPhoneNumberMatchStrategy::TVPbkPhoneNumberMatchFlags aMatchFlag ); |
140 TUint32 aMatchFlags ); |
139 |
141 |
140 void ConstructL(); |
142 void ConstructL(); |
141 |
143 |
142 protected: // data |
|
143 CVPbkPhoneNumberMatchStrategy::TVPbkPhoneNumberMatchFlags iMatchFlag; |
|
144 |
|
145 private: // data |
144 private: // data |
146 |
145 |
147 /** |
146 /** |
148 * Match strategy. |
147 * Match strategy. |
149 * Own. |
148 * Own. |
198 * Number extractor. |
197 * Number extractor. |
199 * Own. |
198 * Own. |
200 */ |
199 */ |
201 CCntRawPhoneNumberExtractor* iNumberExtractor; |
200 CCntRawPhoneNumberExtractor* iNumberExtractor; |
202 |
201 |
|
202 protected: // data |
|
203 |
|
204 /** |
|
205 * A bitset of matching strategy flags. Changed from |
|
206 * CVPbkPhoneNumberMatchStrategy::TVPbkPhoneNumberMatchFlags enum to TUint32 |
|
207 * in order to support multiple flags, as in |
|
208 * CVPbkPhoneNumberMatchStrategy::TConfig. |
|
209 * |
|
210 * Protected because a unit test class derives from this class. |
|
211 */ |
|
212 TUint32 iMatchFlags; |
|
213 |
203 }; |
214 }; |
204 |
215 |
205 |
216 |
206 #endif // CPHCNTCONTACTMATCHSTRATEGY_H |
217 #endif // CPHCNTCONTACTMATCHSTRATEGY_H |