summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-27 10:46:04 +0000
committerritsuka <[email protected]>2014-12-27 10:46:04 +0000
commitdf8b2ff3e109699e3dadd88404911f8dfc7b210a (patch)
tree8489fee4edaf57adf55f69d0c0d28f61a5757057 /macosx/HBVideo.h
parent8df584534c0c39f5c2f298d8ba480cc906743bbf (diff)
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
Diffstat (limited to 'macosx/HBVideo.h')
-rw-r--r--macosx/HBVideo.h9
1 files changed, 2 insertions, 7 deletions
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 <Foundation/Foundation.h>
+#import "HBPresetCoding.h"
@class HBJob;
/**
* HBVideo
*/
-@interface HBVideo : NSObject <NSCoding>
+@interface HBVideo : NSObject <NSCoding, NSCopying, HBPresetCoding>
- (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;