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/HBAudio.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/HBAudio.h')
-rw-r--r-- | macosx/HBAudio.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBAudio.h b/macosx/HBAudio.h index d56f59d16..5d73830a7 100644 --- a/macosx/HBAudio.h +++ b/macosx/HBAudio.h @@ -7,7 +7,7 @@ #import <Foundation/Foundation.h> #import "HBPresetCoding.h" -@class HBTitle; +@class HBJob; @class HBAudioTrack; @class HBAudioDefaults; @@ -15,9 +15,11 @@ NS_ASSUME_NONNULL_BEGIN extern NSString *HBAudioChangedNotification; -@interface HBAudio : NSObject <NSSecureCoding, NSCopying, HBPresetCoding> +@interface HBAudio : NSObject <NSSecureCoding, NSCopying> -- (instancetype)initWithTitle:(HBTitle *)title; +- (instancetype)initWithJob:(HBJob *)job; + +@property (nonatomic, readwrite, weak) HBJob *job; @property (nonatomic, readonly) NSMutableArray<NSDictionary *> *sourceTracks; @property (nonatomic, readonly) NSMutableArray<HBAudioTrack *> *tracks; |