233 * |
233 * |
234 * @param aPluginId Plugin id to be activated |
234 * @param aPluginId Plugin id to be activated |
235 * @return Operation status. KErrNone (success), KErrNotFound |
235 * @return Operation status. KErrNone (success), KErrNotFound |
236 */ |
236 */ |
237 IMPORT_C TInt SetActivePluginL(const TDesC8& aPluginId); |
237 IMPORT_C TInt SetActivePluginL(const TDesC8& aPluginId); |
238 |
238 |
239 /** |
|
240 * Removes all but one view and removes all plugins from it. |
|
241 * |
|
242 * @return Operation status. KErrNone (success), KErrNotFound |
|
243 */ |
|
244 IMPORT_C TInt RestoreRootL(); |
|
245 |
|
246 /** |
239 /** |
247 * Restore (re-install) default configuration from ROM. |
240 * Restores plug-in configurations from eMMC, UDA and ROM drives. |
248 * |
241 * |
249 * @return Operation status. KErrNone (success), KErrNotFound |
242 * @return Operation status. KErrNone (success), KErrNotFound |
250 */ |
243 */ |
251 IMPORT_C TInt RestoreDefaultConfL(); |
244 IMPORT_C TInt RestoreDefaultConfL(); |
252 |
245 |
|
246 /** |
|
247 * Restores plug-in configurations from ROM only. To be used if content |
|
248 * in UDA and eMMC drives is causing panics. |
|
249 * |
|
250 * @return Operation status. KErrNone (success), KErrNotFound |
|
251 */ |
|
252 IMPORT_C TInt RestoreRomConfL(); |
|
253 |
|
254 /** |
|
255 * Restores active application configuration by removing all extra views, |
|
256 * all plug-ins will be removed also. |
|
257 * |
|
258 * @return Operation status. KErrNone (success), KErrNotFound |
|
259 */ |
|
260 IMPORT_C TInt RestoreViewsL(); |
|
261 |
253 /** |
262 /** |
254 * Replace plugin in the active configuration. |
263 * Replace plugin in the active configuration. |
255 * |
264 * |
256 * @param aPluginId Plugin id to be replaced |
265 * @param aPluginId Plugin id to be replaced |
257 * @param aConfUid Configuration uid of the new plugin |
266 * @param aConfUid Configuration uid of the new plugin |