From e8b7af4abd15d0035f69ebd96cc592e171d2ae43 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 26 Nov 2008 19:32:53 +0000 Subject: 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 --- win/C#/Queue/QueueItem.cs | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 win/C#/Queue/QueueItem.cs (limited to 'win/C#/Queue/QueueItem.cs') 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; + + /// + /// Get or Set the job id. + /// + public int Id + { + get { return id; } + set { this.id = value; } + } + + /// + /// Get or Set the query string. + /// + public string Query + { + get { return query; } + set { this.query = value; } + } + + /// + /// Get or set the source file of encoding + /// + public string Source + { + get { return source; } + set { this.source = value; } + } + + /// + /// Get or set the destination for the file to be encoded. + /// + public string Destination + { + get { return destination; } + set { this.destination = value; } + } + } +} -- cgit v1.2.3