summaryrefslogtreecommitdiffstats
path: root/macosx/HBDockTile.h
blob: 4e20c9fdf5793820db1c91ef9397ee3b7536596e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 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