summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueTableViewController.h
blob: 0b109c283f507765fa2d0d5f3a80e96a6c3d313c (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
/*  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 "HBDistributedArray.h"
#import "HBQueueItem.h"

NS_ASSUME_NONNULL_BEGIN

@protocol HBQueueTableViewControllerDelegate

- (void)tableViewDidSelectItemsAtIndexes:(NSIndexSet *)indexes;
- (void)tableViewEditItem:(HBQueueItem *)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