From ee294958088a96ca232a1334eea6542dd7e30d60 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 23 May 2009 14:57:00 +0000 Subject: 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 --- win/C#/frmActivityWindow.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win/C#/frmActivityWindow.cs') diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs index dc979f28e..981ed2f34 100644 --- a/win/C#/frmActivityWindow.cs +++ b/win/C#/frmActivityWindow.cs @@ -9,6 +9,7 @@ using System.Windows.Forms; using System.IO; using System.Threading; using System.Runtime.InteropServices; +using Handbrake.EncodeQueue; using Microsoft.Win32; @@ -19,7 +20,7 @@ namespace Handbrake delegate void SetTextCallback(string text); String read_file; Thread monitor; - Queue.QueueHandler encodeQueue; + QueueHandler encodeQueue; int position; // Position in the arraylist reached by the current log output in the rtf box. string logDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake\\logs"; private frmMain mainWin; @@ -27,7 +28,7 @@ namespace Handbrake /// /// This window should be used to display the RAW output of the handbrake CLI which is produced during an encode. /// - public frmActivityWindow(string file, Queue.QueueHandler eh, frmMain mw) + public frmActivityWindow(string file, QueueHandler eh, frmMain mw) { InitializeComponent(); -- cgit v1.2.3