diff options
author | sr55 <[email protected]> | 2011-08-07 21:31:14 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-08-07 21:31:14 +0000 |
commit | 69d24d74273fde9bb4c790755c95575b4e6c3c0c (patch) | |
tree | a90422cd4aec2fc313af7eb8815e95bf6343abbc /win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs | |
parent | db6a78037d052a0e0b2236bafef2799781930ce7 (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/Services/Interfaces/IQueueManager.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs index 2c9005cfb..be87b3705 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IQueueManager.cs @@ -56,6 +56,19 @@ namespace HandBrake.ApplicationServices.Services.Interfaces void Remove(QueueTask job);
/// <summary>
+ /// Reset a Queued Item from Error or Completed to Waiting
+ /// </summary>
+ /// <param name="job">
+ /// The job.
+ /// </param>
+ void ResetJobStatusToWaiting(QueueTask job);
+
+ /// <summary>
+ /// Clear down the Queue�s completed items
+ /// </summary>
+ void ClearCompleted();
+
+ /// <summary>
/// Get the first job on the queue for processing.
/// This also removes the job from the Queue and sets the LastProcessedJob
/// </summary>
|