summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitleSelectionController.h
blob: 8aa7e33ebd19373108af1cdea863f2efa4d86136 (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
/* HBTitleSelectionController.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>

NS_ASSUME_NONNULL_BEGIN

@class HBTitle;

@protocol HBTitleSelectionDelegate <NSObject>

- (void)didSelectIndexes:(NSIndexSet *)indexes;

@end

@interface HBTitleSelectionController : NSWindowController

- (instancetype)initWithTitles:(NSArray<HBTitle *> *)titles delegate:(id<HBTitleSelectionDelegate>)delegate;

@end

NS_ASSUME_NONNULL_END