homescreenpluginsrv/inc/hspsthememanagement.h
changeset 4 1a2a00e78665
parent 0 79c6a41cd166
child 14 15e4dd19031c
--- a/homescreenpluginsrv/inc/hspsthememanagement.h	Tue Jan 26 12:11:15 2010 +0200
+++ b/homescreenpluginsrv/inc/hspsthememanagement.h	Tue Feb 02 00:23:10 2010 +0200
@@ -392,6 +392,12 @@
     
   EhspsUpdatePluginConf,
   
+  /**
+   * Restores plugin configurations by either removing all plugins
+   * from the active view or by reinstalling all the ROM based plugins.
+   */
+  EhspsRestoreConfigurations,
+  
 
   /**************************************
    * Client Request related requests: 
@@ -616,6 +622,17 @@
      */
     EhspsGetPluginOdtFailed,
     
+    /**
+     * EhspsRestoreConfigurationsSuccess. Restoration was successfull.
+     */
+    EhspsRestoreConfigurationsSuccess,
+    
+    /**
+     * EhspsRestoreConfigurationsFailed. Restoration failed.
+     */
+    EhspsRestoreConfigurationsFailed,
+    
+    
 /* Client Requests: */
     
     /** 
@@ -1011,6 +1028,18 @@
     TBool storingStatus;            // storing status telling if modified plugin settings are needed to stored its reference.
     };
 
+/**
+ * Input parameter for the RestoreActiveAppConf service 
+ */
+struct ThspsParamRestoreConfigurations
+    {
+    TInt appUid;                    // uid of the application
+    TBool restoreAll;               // false: if all widget plugins should be removed from the active view,
+                                    // true: if all widget plugins should be removed from the first locked view
+                                    //       (or if locked views were not found then from first unlocked view) 
+                                    //       and if all other views should be removed
+    };
+
 
 class ChspsODT;
 class ChspsResource;