equal
deleted
inserted
replaced
99 /** |
99 /** |
100 * Complete the previous GetDocumentL |
100 * Complete the previous GetDocumentL |
101 * @return Document. Ownership is transferred to the caller of this function. |
101 * @return Document. Ownership is transferred to the caller of this function. |
102 */ |
102 */ |
103 CSearchDocument* GetDocumentCompleteL(); |
103 CSearchDocument* GetDocumentCompleteL(); |
|
104 |
|
105 /** |
|
106 * Gets list of documents from the current search results. |
|
107 * @param aObserver Observing object for this asyncronous call |
|
108 * @param aMessage The requesting message |
|
109 * @parma aIndex index of the requested document |
|
110 */ |
|
111 void GetBatchDocumentL(TInt aIndex, MCPixAsyncronizerObserver* aObserver, const RMessage2& aMessage, TInt aCount); |
|
112 |
|
113 /** |
|
114 * Complete the previous GetBatchDocumentL |
|
115 * @return array of Document. Ownership is transferred to the caller of this function. |
|
116 */ |
|
117 RPointerArray<CSearchDocument> GetBatchDocumentCompleteL(); |
104 |
118 |
105 /** |
119 /** |
106 * Creates new database (and destroys existing) if path is given. Otherwise, opens existing database. |
120 * Creates new database (and destroys existing) if path is given. Otherwise, opens existing database. |
107 * @param aDefaultSearchField Default field to which query results are looked from. |
121 * @param aDefaultSearchField Default field to which query results are looked from. |
108 * @param aBaseAppClass Application class of this database handle. |
122 * @param aBaseAppClass Application class of this database handle. |
205 * Asynchronizer object for search and getdocument |
219 * Asynchronizer object for search and getdocument |
206 */ |
220 */ |
207 CCPixAsyncronizer* iAsyncronizer; |
221 CCPixAsyncronizer* iAsyncronizer; |
208 cpix_JobId iPendingJobId; |
222 cpix_JobId iPendingJobId; |
209 TPendingTask iPendingTask; |
223 TPendingTask iPendingTask; |
210 |
224 /** |
|
225 * stores the requested batch document |
|
226 */ |
|
227 cpix_Document** ibatchDocuments; |
|
228 /** |
|
229 * Requested batch document count |
|
230 */ |
|
231 TInt ibatchDocCount; |
211 /** |
232 /** |
212 * Needed until the cpix is changed so that the docResults gives out the document |
233 * Needed until the cpix is changed so that the docResults gives out the document |
213 */ |
234 */ |
214 cpix_Document iCurrentCpixDocument; |
235 cpix_Document* iCurrentCpixDocument; |
215 }; |
236 }; |
216 |
237 |
217 |
238 |
218 #endif /* CCPIXSEARCH_H_ */ |
239 #endif /* CCPIXSEARCH_H_ */ |