diff options
Diffstat (limited to 'win/C#/Queue')
-rw-r--r-- | win/C#/Queue/QueueHandler.cs | 2 | ||||
-rw-r--r-- | win/C#/Queue/QueueItem.cs | 37 |
2 files changed, 6 insertions, 33 deletions
diff --git a/win/C#/Queue/QueueHandler.cs b/win/C#/Queue/QueueHandler.cs index aabce4f41..3317fb82f 100644 --- a/win/C#/Queue/QueueHandler.cs +++ b/win/C#/Queue/QueueHandler.cs @@ -1,7 +1,5 @@ using System;
using System.Collections.Generic;
-using System.Text;
-using System.Collections;
using System.IO;
using System.Windows.Forms;
using System.Xml.Serialization;
diff --git a/win/C#/Queue/QueueItem.cs b/win/C#/Queue/QueueItem.cs index 1639b168b..e71e308c4 100644 --- a/win/C#/Queue/QueueItem.cs +++ b/win/C#/Queue/QueueItem.cs @@ -1,50 +1,25 @@ -using System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Handbrake.Queue
+namespace Handbrake.Queue
{
public class QueueItem
{
- private int id;
- private string query;
- private string source;
- private string destination;
-
/// <summary>
/// Get or Set the job id.
/// </summary>
- public int Id
- {
- get { return id; }
- set { this.id = value; }
- }
+ public int Id { get; set; }
/// <summary>
/// Get or Set the query string.
/// </summary>
- public string Query
- {
- get { return query; }
- set { this.query = value; }
- }
+ public string Query { get; set; }
/// <summary>
/// Get or set the source file of encoding
/// </summary>
- public string Source
- {
- get { return source; }
- set { this.source = value; }
- }
+ public string Source { get; set; }
/// <summary>
/// Get or set the destination for the file to be encoded.
/// </summary>
- public string Destination
- {
- get { return destination; }
- set { this.destination = value; }
- }
+ public string Destination { get; set; }
}
-}
+}
\ No newline at end of file |