/* $Id: HBSubtitles.h This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ #import #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 HBSubtitlesDefaults; /** * HBSubtitlesController * Responds to HBContainerChangedNotification and HBTitleChangedNotification notifications. */ @interface HBSubtitlesController : NSViewController - (void)addTracksFromQueue:(NSArray *)queueSubtitleArray; - (void)applySettingsFromPreset:(NSDictionary *)preset; // Get the list of subtitles tracks @property (readonly, nonatomic, copy) NSArray *subtitles; @property (nonatomic, readonly) HBSubtitlesDefaults *settings; @end