homescreenpluginsrv/hspsmanager/client/hspsclient.cpp
changeset 4 1a2a00e78665
parent 0 79c6a41cd166
child 51 15e4dd19031c
--- a/homescreenpluginsrv/hspsmanager/client/hspsclient.cpp	Tue Jan 26 12:11:15 2010 +0200
+++ b/homescreenpluginsrv/hspsmanager/client/hspsclient.cpp	Tue Feb 02 00:23:10 2010 +0200
@@ -880,6 +880,29 @@
     
     return ret;
     }
+
+
+// -----------------------------------------------------------------------------
+// ChspsClient::hspsRestoreConfigurations
+// -----------------------------------------------------------------------------
+//
+EXPORT_C ThspsServiceCompletedMessage ChspsClient::hspsRestoreConfigurations(
+    const TInt aAppUid,
+    const TBool aReinstall )
+    {
+    ThspsServiceCompletedMessage ret = EhspsRestoreConfigurationsFailed;
+    
+    ThspsParamRestoreConfigurations params;
+    params.appUid = aAppUid;
+    params.restoreAll = aReinstall;
+
+    ret = ( ThspsServiceCompletedMessage )iSession.RestoreConfigurations( iResultData, params );
+    
+    UpdatehspsResult( iResultData );
+    
+    return ret;
+    }
+
 // -----------------------------------------------------------------------------
 // ChspsClient::hspsPluginUpdateL
 // -----------------------------------------------------------------------------