summaryrefslogtreecommitdiffstats
path: root/win/C#/frmActivityWindow.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-26 22:49:18 +0000
committersr55 <[email protected]>2010-02-26 22:49:18 +0000
commit9e08a2bc781b020f15d477ae2d89da669d4743b1 (patch)
tree55792d64908f1930385ed9416eab392635bcfce5 /win/C#/frmActivityWindow.cs
parent16f7933765671ab563d17620b071cdaf99d98bbf (diff)
WinGui:
- Fixed some issues with the DirectRun() Code and implemented some standard input / error readers received events / handlers - Moved some code around. EncodeQueue is now a services layer git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3141 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmActivityWindow.cs')
-rw-r--r--win/C#/frmActivityWindow.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/win/C#/frmActivityWindow.cs b/win/C#/frmActivityWindow.cs
index 879dd54a5..70f62d5e9 100644
--- a/win/C#/frmActivityWindow.cs
+++ b/win/C#/frmActivityWindow.cs
@@ -180,6 +180,33 @@ namespace Handbrake
return appendText;
}
+
+ // TODO This is just Experimental Code. Just ignore it.
+ ////if (encode.ActivityLog == null)
+ ////{
+ //// appendText.AppendFormat("Waiting for the log file to be generated ...\n");
+ //// position = 0;
+ //// ClearWindowText();
+ //// PrintLogHeader();
+ //// return appendText;
+ ////}
+
+ ////using (StringReader reader = new StringReader(encode.ActivityLog))
+ ////{
+ //// string line;
+ //// int i = 1;
+ //// while ((line = reader.ReadLine()) != null)
+ //// {
+ //// if (i > position)
+ //// {
+ //// appendText.AppendLine(line);
+ //// position++;
+ //// }
+ //// i++;
+ //// }
+
+ ////}
+
// Start the Reader
// Only use text which continues on from the last read line
StreamReader sr = new StreamReader(logFile2);