summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueTableViewController.h
blob: 6f3b116d27a258b94384597f8b65270ecdc08c7b (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
/*  HBQueueTableViewController.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>

#import "HBQueue.h"
#import "HBQueueJobItem.h"

NS_ASSUME_NONNULL_BEGIN

@protocol HBQueueTableViewControllerDelegate

- (void)tableViewDidSelectItemsAtIndexes:(NSIndexSet *)indexes;
- (void)tableViewEditItem:(HBQueueJobItem *)item;
- (void)tableViewResetItemsAtIndexes:(NSIndexSet *)indexes;
- (void)tableViewRemoveItemsAtIndexes:(NSIndexSet *)indexes;

@end

@interface HBQueueTableViewController : NSViewController

- (instancetype)initWithQueue:(HBQueue *)queue delegate:(id<HBQueueTableViewControllerDelegate>)delegate;

@end

NS_ASSUME_NONNULL_END