summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-13 08:08:04 +0000
committerritsuka <[email protected]>2015-01-13 08:08:04 +0000
commit677231f07d765e79afdc76e7741bb9e03bde1142 (patch)
treeb98775bb09649710c9b80b6370c8d261ce778cf9 /macosx/HBSubtitlesController.h
parent40edf3c9bce9f91fa3b5d8f422ad5df1e8ad3eb6 (diff)
MacGui: Move the audio/subtitles selection logic out of the view controllers. Now it's possible to create a HBJob and apply a preset to without the UI classes help.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6741 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitlesController.h')
-rw-r--r--macosx/HBSubtitlesController.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/macosx/HBSubtitlesController.h b/macosx/HBSubtitlesController.h
index 1d681349e..b65cb35e2 100644
--- a/macosx/HBSubtitlesController.h
+++ b/macosx/HBSubtitlesController.h
@@ -6,30 +6,13 @@
#import <Cocoa/Cocoa.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;
+@class HBSubtitles;
/**
* HBSubtitlesController
- * Responds to HBContainerChangedNotification.
*/
@interface HBSubtitlesController : NSViewController
-- (void)applySettingsFromPreset:(NSDictionary *)preset;
-
-@property (nonatomic, readwrite, assign) HBJob *job;
+@property (nonatomic, readwrite, assign) HBSubtitles *subtitles;
@end