summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesDefaults.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-08-22 06:30:58 +0000
committerritsuka <[email protected]>2014-08-22 06:30:58 +0000
commita13b937ba09ca5c29ef633114b0880a4f1213f0e (patch)
treeec065c3497235a60ddf03e1e87b9e6b362606f3f /macosx/HBSubtitlesDefaults.h
parentc27510750ff919f6e9343e82d1047fe5cb0ff68b (diff)
MacGui: renamed HB*Settings classes to HB*Defaults. Added a “…” char to the “Configure Defaults” button.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6341 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitlesDefaults.h')
-rw-r--r--macosx/HBSubtitlesDefaults.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/macosx/HBSubtitlesDefaults.h b/macosx/HBSubtitlesDefaults.h
new file mode 100644
index 000000000..21ebce5f2
--- /dev/null
+++ b/macosx/HBSubtitlesDefaults.h
@@ -0,0 +1,27 @@
+/* HBSubtitlesSettings.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 <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSUInteger, HBSubtitleTrackSelectionBehavior) {
+ HBSubtitleTrackSelectionBehaviorNone,
+ HBSubtitleTrackSelectionBehaviorFirst,
+ HBSubtitleTrackSelectionBehaviorAll,
+};
+
+@interface HBSubtitlesDefaults : NSObject
+
+@property (nonatomic, readwrite) HBSubtitleTrackSelectionBehavior trackSelectionBehavior;
+@property (nonatomic, readwrite, retain) NSMutableArray *trackSelectionLanguages;
+
+@property (nonatomic, readwrite) BOOL addForeignAudioSearch;
+@property (nonatomic, readwrite) BOOL addForeignAudioSubtitle;
+@property (nonatomic, readwrite) BOOL addCC;
+
+- (void)applySettingsFromPreset:(NSDictionary *)preset;
+- (void)prepareSubtitlesForPreset:(NSMutableDictionary *)preset;
+
+@end