summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-07 21:31:14 +0000
committersr55 <[email protected]>2011-08-07 21:31:14 +0000
commit69d24d74273fde9bb4c790755c95575b4e6c3c0c (patch)
treea90422cd4aec2fc313af7eb8815e95bf6343abbc /win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs
parentdb6a78037d052a0e0b2236bafef2799781930ce7 (diff)
WinGui: Change the Queue to work in the same way as the Mac/Lin Queue. Retain Completed jobs and mark them as such.
- Added option to clear completed jobs. - Added option to re-encode a completed/errored job. - In-progress/Waiting jobs get saved into queue recovery. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4161 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs b/win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs
new file mode 100644
index 000000000..774d0a788
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/Model/QueueItemStatus.cs
@@ -0,0 +1,30 @@
+/* QueueItemStatus.cs $
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+namespace HandBrake.ApplicationServices.Model
+{
+ using System.ComponentModel;
+
+ using HandBrake.ApplicationServices.Converters;
+
+ /// <summary>
+ /// Queue Item Status
+ /// </summary>
+ [TypeConverter(typeof(EnumToDescConveter))]
+ public enum QueueItemStatus
+ {
+ [Description("Waiting")]
+ Waiting = 0,
+
+ [Description("In Progress")]
+ InProgress,
+
+ [Description("Completed")]
+ Completed,
+
+ [Description("Error")]
+ Error,
+ }
+}