diff options
author | dynaflash <[email protected]> | 2010-07-19 17:02:43 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-07-19 17:02:43 +0000 |
commit | 33532ab4f7954a70823156eaa067fce02ef3724b (patch) | |
tree | 2c2134e502f6da89876ecf040775ad7efbfbcd10 /macosx/Controller.h | |
parent | bf7630ea1e2b0f07f9fd22db5c05dcbd66490425 (diff) |
MacGui: Fix how we get the current instances pid number since NSRunningApplication is a 10.6 only api and therefore breaks 10.5 compatibility (which also borked the nightly build).
- Many thanks to ritsuka for pointing this out.
- Also adds ability to get the full path to each running instance if we need it in the future.
- Note: Adds additional logging to hbInstances which can be removed when we see fit. But for now imho could be useful since we are early in multi-instance queue encoding.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3450 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index 662563e7f..b8cebbbee 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -265,7 +265,8 @@ BOOL fIsDragging; hb_handle_t * fHandle; /* Queue variables */ - hb_handle_t * fQueueEncodeLibhb; // libhb for HB Encoding + int hbInstanceNum; //stores the number of HandBrake instances currently running + hb_handle_t * fQueueEncodeLibhb; // libhb for HB Encoding hb_title_t * fTitle; hb_title_t * fQueueEncodeTitle; int fEncodingQueueItem; // corresponds to the index of fJobGroups encoding item @@ -291,7 +292,6 @@ BOOL fIsDragging; double dockIconProgress; } -- (int) getThisHBInstancePID; - (IBAction) showAboutPanel:(id)sender; - (void) writeToActivityLog:(const char *) format, ...; |