summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.h
blob: 56fc0dcb8c3b4cc389e1ee61ff5955a8505df93c (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
32
33
34
35
36
/* $Id: HBSubtitles.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 "HBViewValidation.h"

extern NSString *keySubTrackName;
extern NSString *keySubTrackIndex;
extern NSString *keySubTrackLanguage;
extern NSString *keySubTrackLanguageIsoCode;
extern NSString *keySubTrackType;

extern NSString *keySubTrackForced;
extern NSString *keySubTrackBurned;
extern NSString *keySubTrackDefault;

extern NSString *keySubTrackSrtOffset;
extern NSString *keySubTrackSrtFilePath;
extern NSString *keySubTrackSrtCharCode;

@class HBJob;

/**
 *  HBSubtitlesController
 *  Responds to HBContainerChangedNotification.
 */
@interface HBSubtitlesController : NSViewController <HBViewValidation>

- (void)applySettingsFromPreset:(NSDictionary *)preset;

@property (nonatomic, readwrite, assign) HBJob *job;

@end