diff options
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 |