From 185a922d275ef95db2fa73ee31e07bcafbdecaae Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 29 Oct 2016 13:24:01 +0200 Subject: MacGui: use hb_preset_job_init instead of custom logic for audio, subtitles and picture job settings. --- macosx/HBAudio.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'macosx/HBAudio.h') 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 #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 +@interface HBAudio : NSObject -- (instancetype)initWithTitle:(HBTitle *)title; +- (instancetype)initWithJob:(HBJob *)job; + +@property (nonatomic, readwrite, weak) HBJob *job; @property (nonatomic, readonly) NSMutableArray *sourceTracks; @property (nonatomic, readonly) NSMutableArray *tracks; -- cgit v1.2.3