diff options
author | sr55 <[email protected]> | 2011-01-09 14:37:29 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-01-09 14:37:29 +0000 |
commit | 49c029031755e78e10cc4c0d004dc93d42714566 (patch) | |
tree | a1d88a51560ea03fdf03dd3da1179b95436f4365 /win/C#/Functions | |
parent | 9f60eb35c21d513c6ce6b272e371a279b8a32ae5 (diff) |
WinGui:
- Continuing on with the Application Services re-factoring:
* Added new QueueManager - Manages queue jobs, add, remove, up, down, save, etc
* Queue Processor - Processes a Queue
* New Models (Encode Task + associated model objects) Used for storing jobs as an object rather than query.
This code isn't used yet, that is coming later.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r-- | win/C#/Functions/Main.cs | 4 | ||||
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs index 18919fee8..2edfd1568 100644 --- a/win/C#/Functions/Main.cs +++ b/win/C#/Functions/Main.cs @@ -35,7 +35,7 @@ namespace Handbrake.Functions /// <summary>
/// The XML Serializer
/// </summary>
- private static readonly XmlSerializer Ser = new XmlSerializer(typeof(List<Job>));
+ private static readonly XmlSerializer Ser = new XmlSerializer(typeof(List<QueueTask>));
/// <summary>
/// Calculate the duration of the selected title and chapters
@@ -385,7 +385,7 @@ namespace Handbrake.Functions using (FileStream strm = new FileStream(Path.Combine(file.DirectoryName, file.Name), FileMode.Open, FileAccess.Read))
{
- List<Job> list = Ser.Deserialize(strm) as List<Job>;
+ List<QueueTask> list = Ser.Deserialize(strm) as List<QueueTask>;
if (list != null)
{
if (list.Count != 0)
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index 01344c83c..076444660 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -9,6 +9,9 @@ namespace Handbrake.Functions using System.Collections;
using System.Globalization;
using System.Text.RegularExpressions;
+
+ using HandBrake.ApplicationServices.Model.Encoding;
+
using Model;
/// <summary>
|