diff options
author | dynaflash <[email protected]> | 2012-09-15 17:08:16 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2012-09-15 17:08:16 +0000 |
commit | 1faac76d071993d03fb93ad8e58b3ef41e9b4c2a (patch) | |
tree | 3ab4505ea6e1eb42c9650dad578b65cff0eac700 /macosx/Controller.h | |
parent | 8329bf01460521587889fd4133f76b32ccf13217 (diff) |
MacGui: New dock icon progess behavior with percent & ETA "badges".
- Patch by Jerome Lacube Thanks !!
- Details can be found here https://reviews.handbrake.fr/r/344/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4964 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r-- | macosx/Controller.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h index 62aad34dd..c8eb322bb 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -25,6 +25,7 @@ extern NSString *HBTitleChangedNotification; extern NSString *keyTitleTag; @class HBOutputPanelController; +@class DockTextField; /* We subclass NSView so that our drags show both the icon as well as PresetName columns */ @interface HBPresetsOutlineView : NSOutlineView @@ -256,7 +257,11 @@ BOOL fIsDragging; NSString * currentSource; NSString * browsedSourceDisplayName; + /* Dock progress variables */ double dockIconProgress; + NSDockTile *dockTile; + DockTextField *percentField; + DockTextField *timeField; } - (int) getPidnum; - (IBAction) showAboutPanel:(id)sender; @@ -441,5 +446,7 @@ BOOL fIsDragging; + (unsigned int) maximumNumberOfAllowedAudioTracks; - (IBAction) addAllAudioTracks: (id) sender; +- (void) updateDockIcon:(double)progress withETA:(NSString*)etaStr; + @end |