summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Queue/Interfaces
diff options
context:
space:
mode:
authorsr55 <[email protected]>2020-07-24 22:02:50 +0100
committersr55 <[email protected]>2020-07-24 22:02:50 +0100
commit2974cc767def7a4651fcd1b5922730c02af0d1bb (patch)
tree507248a20c63980c96d6c9e895924617fc769553 /win/CS/HandBrakeWPF/Services/Queue/Interfaces
parent88a5af3e108e1839ec86c7a08d77f13a9e45f6ed (diff)
WinGui: Add back lost functionality on the new queue design. There is now a Stop button that allows for existing jobs to be completed before stopping the queue. When done action will also be honoured. #2974
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Queue/Interfaces')
-rw-r--r--win/CS/HandBrakeWPF/Services/Queue/Interfaces/IQueueService.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/Interfaces/IQueueService.cs b/win/CS/HandBrakeWPF/Services/Queue/Interfaces/IQueueService.cs
index 761737434..2cbca0439 100644
--- a/win/CS/HandBrakeWPF/Services/Queue/Interfaces/IQueueService.cs
+++ b/win/CS/HandBrakeWPF/Services/Queue/Interfaces/IQueueService.cs
@@ -211,13 +211,19 @@ namespace HandBrakeWPF.Services.Queue.Interfaces
/// <summary>
/// Stop the current encode and pause the queue.
/// </summary>
- void Stop();
+ /// <param name="stopExistingJobs">
+ /// Set to false to allow existing jobs to complete.
+ /// </param>
+ void Stop(bool stopExistingJobs);
/// <summary>
/// Pause the queue but allow the current encode to complete.
/// </summary>
- void Pause();
-
+ /// <param name="pauseJobs">
+ /// Also pause the active jobs
+ /// </param>
+ void Pause(bool pauseJobs);
+
/// <summary>
/// Get the status of all running queue jobs.
/// </summary>