diff -r ff572005ac23 -r 1a2a00e78665 homescreenpluginsrv/hspsmanager/client/hspsclient.cpp --- 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 // -----------------------------------------------------------------------------