summaryrefslogtreecommitdiffstats
path: root/macosx/HBDockTile.h
blob: 15117ab21237d338036394d48ffcbbcaf0d7c3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  HBDockTile.h
//  HandBrake
//
//  Created by Damiano Galassi on 20/08/14.
//
//

#import <Cocoa/Cocoa.h>

@interface HBDockTile : NSObject

- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDockTile:(NSDockTile *)dockTile image:(NSImage *)image NS_DESIGNATED_INITIALIZER;

/**
 *  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