diff options
author | ritsuka <[email protected]> | 2014-08-20 07:29:18 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-08-20 07:29:18 +0000 |
commit | d1897978424444696eda51313f41feffc4112c78 (patch) | |
tree | 2094bb1f44c9a4a2eaafad7cc16adce4c6c26744 /macosx/HBDockTile.h | |
parent | da33f7120c66115d506be98d6cfb08bd2c267ea5 (diff) |
MacGui: added a HBDockTile class to manage the dock tile.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6324 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDockTile.h')
-rw-r--r-- | macosx/HBDockTile.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/macosx/HBDockTile.h b/macosx/HBDockTile.h new file mode 100644 index 000000000..f7bfde7c8 --- /dev/null +++ b/macosx/HBDockTile.h @@ -0,0 +1,22 @@ +// +// HBDockTile.h +// HandBrake +// +// Created by Damiano Galassi on 20/08/14. +// +// + +#import <Cocoa/Cocoa.h> + +@interface HBDockTile : NSObject + +- (instancetype)initWithDockTile:(NSDockTile *)dockTile image:(NSImage *)image; + +/** + * Updates two DockTextFields on the dockTile, + * one with total percentage, the other one with the ETA. + * The ETA string is formated by the callers * + */ +- (void)updateDockIcon:(double)progress withETA:(NSString *)etaStr; + +@end |