diff options
author | sr55 <[email protected]> | 2009-05-23 14:57:00 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-05-23 14:57:00 +0000 |
commit | ee294958088a96ca232a1334eea6542dd7e30d60 (patch) | |
tree | 56fd62f1f300c731ee3316b52a8d65dc247bc695 /win/C#/frmQueue.cs | |
parent | b1ef4b866e0a29e3274d521eb0b768d48195fc9e (diff) |
WinGui:WinGui:
- Stop button, now allows the CLI to cleanly exit by sending ctrl-c rather than killing the process.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2444 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmQueue.cs')
-rw-r--r-- | win/C#/frmQueue.cs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index 39f548236..88da988ba 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -8,15 +8,16 @@ using System; using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
+using Handbrake.EncodeQueue;
namespace Handbrake
{
public partial class frmQueue : Form
{
private delegate void UpdateHandler();
- Queue.QueueHandler queue;
+ QueueHandler queue;
- public frmQueue(Queue.QueueHandler q)
+ public frmQueue(QueueHandler q)
{
InitializeComponent();
@@ -84,7 +85,7 @@ namespace Handbrake }
private void btn_pause_Click(object sender, EventArgs e)
{
- queue.pauseEncode();
+ queue.pauseEncodeQueue();
setUIEncodeFinished();
resetQueue();
MessageBox.Show("No further items on the queue will start. The current encode process will continue until it is finished. \nClick 'Encode' when you wish to continue encoding the queue.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
@@ -139,8 +140,8 @@ namespace Handbrake }
list_queue.Items.Clear();
- List<Queue.QueueItem> theQueue = queue.getQueue();
- foreach (Queue.QueueItem queue_item in theQueue)
+ List<QueueItem> theQueue = queue.getQueue();
+ foreach (QueueItem queue_item in theQueue)
{
string q_item = queue_item.Query;
Functions.QueryParser parsed = Functions.QueryParser.Parse(q_item);
|