190 // descriptors as they will be out of scope by the time the server |
190 // descriptors as they will be out of scope by the time the server |
191 // attempts to read or write |
191 // attempts to read or write |
192 SendReceive(ESearchServerSetAnalyzer, args, aStatus); |
192 SendReceive(ESearchServerSetAnalyzer, args, aStatus); |
193 } |
193 } |
194 |
194 |
|
195 EXPORT_C void RSearchServerSubSession::SetQueryParserL(TInt aQueryParser) |
|
196 { |
|
197 TIpcArgs args(aQueryParser); |
|
198 |
|
199 // This call completes immediately, however the server will not |
|
200 // complete the request until later, so don't pass any local |
|
201 // descriptors as they will be out of scope by the time the server |
|
202 // attempts to read or write |
|
203 User::LeaveIfError( SendReceive(ESearchServerSetQueryParser, args) ); |
|
204 } |
|
205 |
|
206 EXPORT_C void RSearchServerSubSession::SetQueryParser(TInt aQueryParser, TRequestStatus& aStatus) |
|
207 { |
|
208 TIpcArgs args(aQueryParser); |
|
209 |
|
210 SendReceive(ESearchServerSetQueryParser, args, aStatus); |
|
211 } |
|
212 |
195 |
213 |
196 // RSearchServerSubSession::Search() |
214 // RSearchServerSubSession::Search() |
197 EXPORT_C void RSearchServerSubSession::SearchL(const TDesC& aSearchTerms) |
215 EXPORT_C void RSearchServerSubSession::SearchL(const TDesC& aSearchTerms) |
198 { |
216 { |
199 OstTraceFunctionEntry0( RSEARCHSERVERSUBSESSION_SEARCHL_ENTRY ); |
217 OstTraceFunctionEntry0( RSEARCHSERVERSUBSESSION_SEARCHL_ENTRY ); |