searcher/searchserver/inc/ccpixsearch.h
changeset 10 afe194b6b1cd
parent 0 671dee74050a
child 14 8bd192d47aaa
--- a/searcher/searchserver/inc/ccpixsearch.h	Wed Jun 23 19:26:19 2010 +0300
+++ b/searcher/searchserver/inc/ccpixsearch.h	Tue Jul 06 15:30:04 2010 +0300
@@ -19,6 +19,8 @@
 #define CCPIXSEARCH_H_
 
 #include <e32base.h>
+#include "CCPixAbstractSearcher.h"
+
 #include <stdio.h>
 #include <wchar.h>
 #include <glib.h>
@@ -32,12 +34,11 @@
 class CCPixAsyncronizer;
 class MCPixAsyncronizerObserver;
 
-_LIT(KCpixDefaultSearchField, CPIX_DEFAULT_FIELD);
 
 /**
  * Symbian C++ wrapper for OpenC CPixSearch interface.
  */
-class CCPixSearch : public CBase
+class CCPixSearch : public CCPixAbstractSearcher
 	{
 public:
 
@@ -115,7 +116,11 @@
 	 */
 	TBool IsOpen();
 		
-	void SetAnalyzerL(const TDesC& aAnalyzer); 
+	void SetAnalyzerL(const TDesC& aAnalyzer);
+	
+	void SetQueryParserL(TInt aQueryParser); 
+
+	void RefreshQueryParserL(); 
 	
 	static void InitializeL();
 
@@ -178,6 +183,7 @@
 	/**
 	 * Query parser.
 	 */
+	TQueryParser iQueryParserType;
 	cpix_QueryParser* iQueryParser;
 	
 	/**