summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-09-22 14:44:13 +0000
committerdynaflash <[email protected]>2008-09-22 14:44:13 +0000
commit441c3d72579f339174d467e0f8f6b8b22ccdb135 (patch)
treeb5c751f24f07acde25bf5e5be87084221b532eda /macosx/HBQueueController.mm
parent0529e62a266fb65c2bf4492b2e5d566879621537 (diff)
MacGui: Add encoding status readout to the queue window
- is fed info from controller.mm instead of the old setup which had another NSTimer polling libhb just for the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1742 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r--macosx/HBQueueController.mm9
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm
index 0e1476128..b32e4de3e 100644
--- a/macosx/HBQueueController.mm
+++ b/macosx/HBQueueController.mm
@@ -188,6 +188,15 @@ if (fWorkingCount > 0)
[fQueueCountField setStringValue:string];
}
+/* This method sets the status string in the queue window
+ * and is called from Controller.mm (fHBController)
+ * instead of running another timer here polling libhb
+ * for encoding status
+ */
+- (void)setQueueStatusString: (NSString *)statusString
+{
+[fProgressTextField setStringValue:statusString];
+}
//------------------------------------------------------------------------------------
// dealloc