searchsrv_plat/cpix_framework_api/inc/cindexingplugin.h
changeset 23 d4d56f5e7c55
parent 0 671dee74050a
child 24 65456528cac2
--- a/searchsrv_plat/cpix_framework_api/inc/cindexingplugin.h	Mon Sep 20 12:35:47 2010 +0530
+++ b/searchsrv_plat/cpix_framework_api/inc/cindexingplugin.h	Tue Oct 05 13:15:12 2010 +0530
@@ -123,6 +123,18 @@
 	 */
 	IMPORT_C void Flush(CCPixIndexer& aIndexer);
 	
+	/**
+    * A pure virtual method which instructs plugin to pause harvesting.
+    * Data to be indexed has to be stored and later index when resume is called.    
+    */
+	virtual void PausePluginL() = 0;
+	
+	/**
+    * A pure virtual method which instructs plugin to resume harvesting.
+    * plugin should index the queued items if any.    
+    */
+	virtual void ResumePluginL() = 0;
+	
 private: // data members
 	// Identification on cleanup.
 	TUid iDtor_ID_Key;