equal
deleted
inserted
replaced
24 |
24 |
25 const TInt KFilePluginBaseAppClassMaxLen = 64; |
25 const TInt KFilePluginBaseAppClassMaxLen = 64; |
26 //Forward Declaration |
26 //Forward Declaration |
27 class CBlacklistMgr; |
27 class CBlacklistMgr; |
28 class CContentInfoMgr; |
28 class CContentInfoMgr; |
|
29 class CContentInfo; |
29 |
30 |
30 class CIndexingManager : public CActive, public MIndexingService |
31 class CIndexingManager : public CActive, public MIndexingService |
31 { |
32 { |
32 public: |
33 public: |
33 static CIndexingManager* NewL(); |
34 static CIndexingManager* NewL(); |
99 /** |
100 /** |
100 * saving the state of the Plugins |
101 * saving the state of the Plugins |
101 */ |
102 */ |
102 void SaveL(); |
103 void SaveL(); |
103 /** |
104 /** |
104 * Update content info Db with the plugin details |
105 * Add an entry to the content info Db with the plugin details.If an entry with the given |
105 */ |
106 * plugin name is already available in contentinfo db then the blacklist status of the plugin |
106 void UpdateContentInfoDbL( const TDesC& aPluginName); |
107 * is updated with KEnable. |
107 /** |
108 */ |
108 * Update the unload list in a separate table in blacklist database |
109 void UpdateContentInfoDbL( const TDesC& aPluginName, CContentInfo* aContentinfo); |
109 */ |
110 /** |
110 void UpdateUnloadListL(); |
111 * Update the dontload list in a separate table in blacklist database. |
|
112 * If any error occurs in reading Uid values from centrep, then the dontload list |
|
113 * is ignored. |
|
114 */ |
|
115 void UpdateDontloadListL(); |
|
116 /** |
|
117 * Returns the load status of the plugin. This method will check both tables in |
|
118 * Blacklist database and return the status. |
|
119 * returns ETrue if uid is found in any table of blacklist database else returns EFalse. |
|
120 */ |
|
121 TBool GetPluginLoadStatusL (TUid aPluginUid, TInt aVersion, const TDesC& aPluginName); |
|
122 |
|
123 /** |
|
124 * Loads the Harvesterplugin with given plugin uid |
|
125 */ |
|
126 void LoadHarvesterpluginL (TUid aPluginUid, TInt aVersion, const TDesC& aPluginName); |
111 |
127 |
112 private: |
128 private: |
113 CIndexingManager(); |
129 CIndexingManager(); |
114 void ConstructL(); |
130 void ConstructL(); |
115 |
131 |