diff options
author | sr55 <[email protected]> | 2018-07-18 22:28:13 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-07-18 22:28:27 +0100 |
commit | 3e41c7995374e71e9d61b0dce4ac59066a261599 (patch) | |
tree | c7e643e1e5df2ab9d3bb78740c4f6ad740efba31 /win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs | |
parent | 45f24decdf2bb41c8eac24ead218d05fbd92955a (diff) |
WinGui: Move UserSettings over to JSON format. Settings from the older XML format will automatically transfer and the legacy files will be removed.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs b/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs index 5c85387df..2dee3cde9 100644 --- a/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs +++ b/win/CS/HandBrakeWPF/Services/Interfaces/IUserSettingService.cs @@ -9,6 +9,8 @@ namespace HandBrakeWPF.Services.Interfaces
{
+ using System;
+
using SettingChangedEventArgs = HandBrakeWPF.EventArgs.SettingChangedEventArgs;
/// <summary>
@@ -49,12 +51,15 @@ namespace HandBrakeWPF.Services.Interfaces /// <param name="name">
/// The name.
/// </param>
+ /// <param name="convertType">
+ /// The convert Type.
+ /// </param>
/// <typeparam name="T">
/// The Type of the setting
/// </typeparam>
/// <returns>
/// The user setting
/// </returns>
- T GetUserSetting<T>(string name);
+ T GetUserSetting<T>(string name, Type convertType = null);
}
}
\ No newline at end of file |