diff options
author | sr55 <[email protected]> | 2010-04-23 21:01:57 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-04-23 21:01:57 +0000 |
commit | 9d83f1c5539761bcae5b351669ac8a5c7bb1eace (patch) | |
tree | 92c3ef6cf375cc20304e08efa97f92818cdc386c /win/C#/Services | |
parent | 94c9aefd9b79b845124d971d165a9ca50ad4594c (diff) |
WinGui:
- Quality Slider tooltip fixed.
- More stylecop warnings cleaned up.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3255 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Services')
-rw-r--r-- | win/C#/Services/Encode.cs | 5 | ||||
-rw-r--r-- | win/C#/Services/Queue.cs | 12 |
2 files changed, 8 insertions, 9 deletions
diff --git a/win/C#/Services/Encode.cs b/win/C#/Services/Encode.cs index 61dd51123..ba19f187a 100644 --- a/win/C#/Services/Encode.cs +++ b/win/C#/Services/Encode.cs @@ -3,7 +3,6 @@ Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
-
namespace Handbrake.Services
{
using System;
@@ -94,8 +93,7 @@ namespace Handbrake.Services /// </param>
public void CreatePreviewSample(string query)
{
- Job job = new Job {Query = query};
- this.Run(job);
+ this.Run(new Job {Query = query});
}
/// <summary>
@@ -178,7 +176,6 @@ namespace Handbrake.Services if (this.EncodeStarted != null)
this.EncodeStarted(this, new EventArgs());
-
if (this.HbProcess != null)
this.ProcessHandle = this.HbProcess.MainWindowHandle; // Set the process Handle
diff --git a/win/C#/Services/Queue.cs b/win/C#/Services/Queue.cs index 525fd7598..4aba9774c 100644 --- a/win/C#/Services/Queue.cs +++ b/win/C#/Services/Queue.cs @@ -3,7 +3,6 @@ Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
-
namespace Handbrake.Services
{
using System;
@@ -22,14 +21,14 @@ namespace Handbrake.Services public class Queue : Encode
{
/// <summary>
- /// An XML Serializer
+ /// The Queue Job List
/// </summary>
- private static XmlSerializer serializer;
+ private readonly List<Job> queue = new List<Job>();
/// <summary>
- /// The Queue Job List
+ /// An XML Serializer
/// </summary>
- private readonly List<Job> queue = new List<Job>();
+ private static XmlSerializer serializer;
/// <summary>
/// The Next Job ID
@@ -85,6 +84,9 @@ namespace Handbrake.Services /// <param name="query">
/// The query that will be passed to the HandBrake CLI.
/// </param>
+ /// <param name="title">
+ /// The title.
+ /// </param>
/// <param name="source">
/// The location of the source video.
/// </param>
|