diff options
author | Scott <[email protected]> | 2015-10-16 22:29:31 +0100 |
---|---|---|
committer | Scott <[email protected]> | 2015-10-16 22:30:21 +0100 |
commit | 6ae82c27e75f1eb4bd3c16c07e5b2a2cd120e82c (patch) | |
tree | 04b2b3a81d2c838b9fd5d56568eed275dc3c27b5 /win/CS/HandBrake.ApplicationServices/Interop | |
parent | 5eb711545f4b3fbda67f199f7dd68db920381be8 (diff) |
Completely re-factored the preset file storage to use the same format as the Mac and Linux GUI's. You can now copy the file between platforms and it should load correctly.
WARNING: Any current presets will be lost when you install this or any later build as the format is not backwards compatible and there is no upgrade path.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/PresetTransportContainer.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/PresetTransportContainer.cs b/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/PresetTransportContainer.cs index 8f1dd9e78..8eb2b4cfc 100644 --- a/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/PresetTransportContainer.cs +++ b/win/CS/HandBrake.ApplicationServices/Interop/Json/Presets/PresetTransportContainer.cs @@ -18,10 +18,21 @@ namespace HandBrake.ApplicationServices.Interop.Json.Presets /// </summary>
public class PresetTransportContainer
{
+ public PresetTransportContainer()
+ {
+ }
+
+ public PresetTransportContainer(string versionMajor, string versionMinor, string versionMicro)
+ {
+ this.VersionMajor = versionMajor;
+ this.VersionMicro = versionMicro;
+ this.VersionMinor = versionMinor;
+ }
+
/// <summary>
/// Gets or sets the children array.
/// </summary>
- public List<HBPreset> PresetList { get; set; }
+ public List<object> PresetList { get; set; }
/// <summary>
/// Gets or sets the version major.
|