diff options
author | sr55 <[email protected]> | 2008-11-26 19:32:53 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-11-26 19:32:53 +0000 |
commit | e8b7af4abd15d0035f69ebd96cc592e171d2ae43 (patch) | |
tree | 0826c5d09461ee6eb6eb5fe3022a0bdd875d161b /win/C#/Queue/QueueItem.cs | |
parent | 80fa9daad46cf5281b71ed287868e535fa9fbdb9 (diff) |
WinGui:
- The Queue Recovery, inport/export features now use an XML based file system rather than text file.
- Queue now uses class based Queue Items for storing data rather than an arraylist.
- Fixes an issue where the source and/or destination would not show up in the list of queue items.
- Queue progress meter will now update correctly if a user adds more items to the queue after starting the queue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1958 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Queue/QueueItem.cs')
-rw-r--r-- | win/C#/Queue/QueueItem.cs | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/win/C#/Queue/QueueItem.cs b/win/C#/Queue/QueueItem.cs new file mode 100644 index 000000000..1639b168b --- /dev/null +++ b/win/C#/Queue/QueueItem.cs @@ -0,0 +1,50 @@ +using System;
+using System.Collections.Generic;
+using System.Text;
+
+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; }
+ }
+
+ /// <summary>
+ /// Get or Set the query string.
+ /// </summary>
+ public string Query
+ {
+ get { return query; }
+ set { this.query = value; }
+ }
+
+ /// <summary>
+ /// Get or set the source file of encoding
+ /// </summary>
+ public string Source
+ {
+ get { return source; }
+ set { this.source = value; }
+ }
+
+ /// <summary>
+ /// Get or set the destination for the file to be encoded.
+ /// </summary>
+ public string Destination
+ {
+ get { return destination; }
+ set { this.destination = value; }
+ }
+ }
+}
|