equal
deleted
inserted
replaced
894 // ChspsClient::hspsRestoreConfigurations |
894 // ChspsClient::hspsRestoreConfigurations |
895 // ----------------------------------------------------------------------------- |
895 // ----------------------------------------------------------------------------- |
896 // |
896 // |
897 EXPORT_C ThspsServiceCompletedMessage ChspsClient::hspsRestoreConfigurations( |
897 EXPORT_C ThspsServiceCompletedMessage ChspsClient::hspsRestoreConfigurations( |
898 const TInt aAppUid, |
898 const TInt aAppUid, |
899 const TBool aReinstall ) |
899 const ThspsRestore aRestore ) |
900 { |
900 { |
901 ThspsServiceCompletedMessage ret = EhspsRestoreConfigurationsFailed; |
901 ThspsServiceCompletedMessage ret = EhspsRestoreConfigurationsFailed; |
902 |
902 |
903 ThspsParamRestoreConfigurations params; |
903 ThspsParamRestoreConfigurations params; |
904 params.appUid = aAppUid; |
904 params.appUid = aAppUid; |
905 params.restoreAll = aReinstall; |
905 params.restore = aRestore; |
906 |
906 |
907 ret = ( ThspsServiceCompletedMessage )iSession.RestoreConfigurations( iResultData, params ); |
907 ret = ( ThspsServiceCompletedMessage )iSession.RestoreConfigurations( iResultData, params ); |
908 |
908 |
909 UpdatehspsResult( iResultData ); |
909 UpdatehspsResult( iResultData ); |
910 |
910 |