From df8b2ff3e109699e3dadd88404911f8dfc7b210a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sat, 27 Dec 2014 10:46:04 +0000 Subject: MacGui: change the queue to work with serialized HBJob objects, remove the NSDictionary job representation and the duplicate prepareJob method. Implement NSCopying protocol in HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6655 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBVideo.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'macosx/HBVideo.h') diff --git a/macosx/HBVideo.h b/macosx/HBVideo.h index 5936c8803..9e7b2631e 100644 --- a/macosx/HBVideo.h +++ b/macosx/HBVideo.h @@ -5,24 +5,19 @@ It may be used under the terms of the GNU General Public License. */ #import +#import "HBPresetCoding.h" @class HBJob; /** * HBVideo */ -@interface HBVideo : NSObject +@interface HBVideo : NSObject - (instancetype)initWithJob:(HBJob *)job; - (void)containerChanged; -- (void)applySettingsFromPreset:(NSDictionary *)preset; -- (void)prepareVideoForPreset:(NSMutableDictionary *)preset; - -- (void)applyVideoSettingsFromQueue:(NSDictionary *)queueToApply; -- (void)prepareVideoForQueueFileJob:(NSMutableDictionary *)queueFileJob; - @property (nonatomic, readwrite) int encoder; @property (nonatomic, readwrite) int qualityType; -- cgit v1.2.3