harvesterplugins/file/src/cfileplugin.cpp
changeset 3 6832643895f7
parent 2 208a4ba3894c
child 5 3bc31ad99ee7
--- a/harvesterplugins/file/src/cfileplugin.cpp	Mon May 03 12:32:15 2010 +0300
+++ b/harvesterplugins/file/src/cfileplugin.cpp	Fri May 14 15:53:17 2010 +0300
@@ -307,7 +307,7 @@
     OstTraceFunctionExit0( CFILEPLUGIN_MOUNTL_EXIT );
     }
 
-void CFilePlugin::UnMount(TDriveNumber aMedia, TBool aUndefineAsWell)
+void CFilePlugin::UnMount(TDriveNumber aMedia, TBool aUndefineAsWell,TBool aRemoveQueuePersist)
     {
     OstTraceFunctionEntry0( CFILEPLUGIN_UNMOUNT_ENTRY );
     CPIXLOGSTRING("ENTER CFilePlugin::UnMount ");
@@ -325,8 +325,8 @@
     TBuf<KFilePluginBaseAppClassMaxLen> baseContentAppClass;
     FormBaseAppClass(aMedia,KFileBaseAppClassContent, baseContentAppClass);
 
-    // Remove from harvesting queue
-    iObserver->RemoveHarvestingQueue(this, baseContentAppClass);
+    // Remove from harvesting queue aRemovePersist will remove from config file as well
+    iObserver->RemoveHarvestingQueue(this, baseContentAppClass,aRemoveQueuePersist);
     
     // Delete the index object
     if (iIndexer[aMedia])