summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitleSelectionController.h
blob: 50ff0707850a6b41cc15ddf30dce82e93c9c594f (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)didSelectTitles:(NSArray<HBTitle *> *)titles;

@end

@interface HBTitleSelectionController : NSWindowController

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

@end

NS_ASSUME_NONNULL_END