equal
deleted
inserted
replaced
62 _LIT(KContactIMAddress, "IMAddress"); |
62 _LIT(KContactIMAddress, "IMAddress"); |
63 _LIT(KContactServiceProvider, "ServiceProvider"); |
63 _LIT(KContactServiceProvider, "ServiceProvider"); |
64 _LIT(KContactAssistant, "Assistant"); |
64 _LIT(KContactAssistant, "Assistant"); |
65 _LIT(KContactAnniversary, "Anniversary"); |
65 _LIT(KContactAnniversary, "Anniversary"); |
66 _LIT(KContactBirthday, "Birthday"); |
66 _LIT(KContactBirthday, "Birthday"); |
|
67 _LIT(KContactIsGroup, "IsGroup"); |
67 _LIT(KDateSeparator, "-"); |
68 _LIT(KDateSeparator, "-"); |
68 const TInt KDateFieldLength = 10; |
69 const TInt KDateFieldLength = 10; |
69 const TInt KDayPosition = 8; |
70 const TInt KDayPosition = 8; |
70 const TInt KMonthPosition = 5; |
71 const TInt KMonthPosition = 5; |
71 const TInt KYearPosition = 0; |
72 const TInt KYearPosition = 0; |
116 |
117 |
117 /** |
118 /** |
118 * Helper function: adds information field to the document and to the excerpt field(if available) |
119 * Helper function: adds information field to the document and to the excerpt field(if available) |
119 */ |
120 */ |
120 void AddFieldToDocumentAndExcerptL(CSearchDocument& aDocument, CContactItemFieldSet& aFieldSet, TUid aFieldId, const TDesC& aFieldName, const TInt aConfig = CDocumentField::EStoreYes | CDocumentField::EIndexTokenized ); |
121 void AddFieldToDocumentAndExcerptL(CSearchDocument& aDocument, CContactItemFieldSet& aFieldSet, TUid aFieldId, const TDesC& aFieldName, const TInt aConfig = CDocumentField::EStoreYes | CDocumentField::EIndexTokenized ); |
121 |
122 #ifdef USE_HIGHLIGHTER |
|
123 void AddFieldToHLExcerptL( CContactItemFieldSet& aFieldSet, TUid aFieldId); |
|
124 #endif |
122 /** |
125 /** |
123 * Creates the actual contact book index item |
126 * Creates the actual contact book index item |
124 */ |
127 */ |
125 void CreateContactIndexItemL(TInt aContentId, TCPixActionType aActionType); |
128 void CreateContactIndexItemL(TInt aContentId, TCPixActionType aActionType); |
126 |
129 |
136 CDelayedCallback* iAsynchronizer; |
139 CDelayedCallback* iAsynchronizer; |
137 /** Current harvested contact index */ |
140 /** Current harvested contact index */ |
138 TInt iCurrentIndex; |
141 TInt iCurrentIndex; |
139 /** placeholder for Excerpt text dynamic creation */ |
142 /** placeholder for Excerpt text dynamic creation */ |
140 HBufC* iExcerpt; |
143 HBufC* iExcerpt; |
141 |
144 #ifdef USE_HIGHLIGHTER |
|
145 HBufC* iHLDisplayExcerpt; |
|
146 #endif |
142 // CPix database |
147 // CPix database |
143 CCPixIndexer* iIndexer; |
148 CCPixIndexer* iIndexer; |
144 |
149 |
145 //for helping with testing. |
150 //for helping with testing. |
146 #ifdef HARVESTERPLUGINTESTER_FRIEND |
151 #ifdef HARVESTERPLUGINTESTER_FRIEND |