diff options
author | Damiano Galassi <[email protected]> | 2016-10-29 13:24:01 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-10-29 14:08:19 +0200 |
commit | 185a922d275ef95db2fa73ee31e07bcafbdecaae (patch) | |
tree | 8ae73547d8acaf987091d5ab29bf3a3db279bf4a /macosx/HBSubtitles.h | |
parent | 2e48a329ffa5123439cf82b5163176713eb64432 (diff) |
MacGui: use hb_preset_job_init instead of custom logic for audio, subtitles and picture job settings.
Diffstat (limited to 'macosx/HBSubtitles.h')
-rw-r--r-- | macosx/HBSubtitles.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBSubtitles.h b/macosx/HBSubtitles.h index 0a2c56594..afda6a659 100644 --- a/macosx/HBSubtitles.h +++ b/macosx/HBSubtitles.h @@ -9,13 +9,15 @@ NS_ASSUME_NONNULL_BEGIN -@class HBTitle; +@class HBJob; @class HBSubtitlesTrack; @class HBSubtitlesDefaults; -@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying, HBPresetCoding> +@interface HBSubtitles : NSObject <NSSecureCoding, NSCopying> -- (instancetype)initWithTitle:(HBTitle *)title; +- (instancetype)initWithJob:(HBJob *)job; + +@property (nonatomic, readwrite, weak) HBJob *job; - (void)addAllTracks; - (void)removeAll; |