summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueItemView.h
blob: 1146ae294345bab4dbbb1a1dc23844abba5f0892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*  HBQueueItemView.h $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Cocoa/Cocoa.h>

@class HBJob;

NS_ASSUME_NONNULL_BEGIN

@protocol HBQueueItemViewDelegate

- (void)revealQueueItem:(HBJob *)job;
- (void)removeQueueItem:(HBJob *)job;
- (void)toggleQueueItemHeight:(HBJob *)job;

@end

@interface HBQueueItemView : NSTableCellView

@property (nonatomic, weak, nullable) HBJob *job;
@property (nonatomic, weak, nullable) id <HBQueueItemViewDelegate> delegate;
@property (nonatomic) BOOL expanded;

- (void)expand;
- (void)collapse;

@end

NS_ASSUME_NONNULL_END