summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-03-26 19:09:12 +0000
committersr55 <[email protected]>2016-03-26 19:09:12 +0000
commitce9543f4b6ac63f413287081d5ee4bd1ab14f56b (patch)
treed6bba978008b681498375bb2e377acf0fea53ea1 /win/CS/HandBrake.ApplicationServices
parent441d09f5e86b43135958beae4cc2359fa675eb2d (diff)
WinGui: Add a new JSON file type to the queue export functionality. This exports the standardised JSON format that can be imported into the CLI.
Note, the GUI can not yet import the JSON formatted queue file. The old hbq format is still there for that.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj1
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Json/Queue/Task.cs24
2 files changed, 25 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
index 91342b059..c3f86fb4d 100644
--- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
+++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
@@ -119,6 +119,7 @@
<Compile Include="Interop\Json\Presets\HBPreset.cs" />
<Compile Include="Interop\Json\Presets\PresetCategory.cs" />
<Compile Include="Interop\Json\Presets\PresetTransportContainer.cs" />
+ <Compile Include="Interop\Json\Queue\Task.cs" />
<Compile Include="Interop\Json\Shared\PAR.cs" />
<Compile Include="Interop\Json\Encode\Audio.cs" />
<Compile Include="Interop\Json\Encode\AudioTrack.cs" />
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Json/Queue/Task.cs b/win/CS/HandBrake.ApplicationServices/Interop/Json/Queue/Task.cs
new file mode 100644
index 000000000..e1805c3d9
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Json/Queue/Task.cs
@@ -0,0 +1,24 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="Task.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// The task.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrake.ApplicationServices.Interop.Json.Queue
+{
+ using HandBrake.ApplicationServices.Interop.Json.Encode;
+
+ /// <summary>
+ /// The task.
+ /// </summary>
+ public class Task
+ {
+ /// <summary>
+ /// Gets or sets the job.
+ /// </summary>
+ public JsonEncodeObject Job { get; set; }
+ }
+}