harvester/harvesterserver/inc/cindexingmanager.h
changeset 8 6547bf8ca13a
parent 7 a5fbfefd615f
child 23 d4d56f5e7c55
--- a/harvester/harvesterserver/inc/cindexingmanager.h	Fri Jun 11 14:43:47 2010 +0300
+++ b/harvester/harvesterserver/inc/cindexingmanager.h	Mon Jun 28 10:34:53 2010 +0530
@@ -26,6 +26,7 @@
 //Forward Declaration
 class CBlacklistMgr;
 class CContentInfoMgr;
+class CContentInfo;
 
 class CIndexingManager : public CActive, public MIndexingService
 	{
@@ -101,13 +102,28 @@
      */
 	void SaveL();
 	/**
-     * Update content info Db with the plugin details
+     * Add an entry to the content info Db with the plugin details.If an entry with the given 
+     * plugin name is already available in contentinfo db then the blacklist status of the plugin
+     * is updated with KEnable.
      */
-	void UpdateContentInfoDbL( const TDesC& aPluginName);
+	void UpdateContentInfoDbL( const TDesC& aPluginName, CContentInfo* aContentinfo);
 	/**
-     * Update the unload list in a separate table in blacklist database
+     * Update the dontload list in a separate table in blacklist database.
+     * If any error occurs in reading Uid values from centrep, then the dontload list
+     * is ignored.
      */
-	void UpdateUnloadListL();
+	void UpdateDontloadListL();
+	/**
+     * Returns the load status of the plugin. This method will check both tables in 
+     * Blacklist database and return the status.
+     * returns ETrue if uid is found in any table of blacklist database else returns EFalse.
+     */
+	TBool GetPluginLoadStatusL (TUid aPluginUid, TInt aVersion, const TDesC& aPluginName);
+	
+	/**
+     * Loads the Harvesterplugin with given plugin uid
+     */
+	void LoadHarvesterpluginL (TUid aPluginUid, TInt aVersion, const TDesC& aPluginName);
 	
 private:
 	CIndexingManager();