summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueItemView.h
blob: 4dedf3766452a81ae8952f078d2b513290006832 (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
/*  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 HBQueueItem;

NS_ASSUME_NONNULL_BEGIN

@protocol HBQueueItemViewDelegate

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

@end

@interface HBQueueItemView : NSTableCellView

@property (nonatomic, weak, nullable) HBQueueItem *item;
@property (nonatomic, weak, nullable) id <HBQueueItemViewDelegate> delegate;

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

@end

NS_ASSUME_NONNULL_END