diff options
author | Damiano Galassi <[email protected]> | 2015-10-13 10:22:02 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-13 10:22:02 +0200 |
commit | 14839ed2b8a7e4615b2c30fe8a46bb63819d0b40 (patch) | |
tree | f8684e1d7eb41fa1df0c420da50cd4f53f692e64 /macosx/HBJob.h | |
parent | b8bcf81a60e505135cab3f6deeb090989012ba5e (diff) |
MacGui: remove some HBPreset -> NSDictionary conversions and add a mutable version of HBPreset.
Diffstat (limited to 'macosx/HBJob.h')
-rw-r--r-- | macosx/HBJob.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/macosx/HBJob.h b/macosx/HBJob.h index 3dda3f27e..27075215c 100644 --- a/macosx/HBJob.h +++ b/macosx/HBJob.h @@ -7,6 +7,7 @@ #import <Foundation/Foundation.h> @class HBPreset; +@class HBMutablePreset; @class HBTitle; #import "HBRange.h" @@ -37,13 +38,10 @@ typedef NS_ENUM(NSUInteger, HBJobState){ /** * HBJob */ -@interface HBJob : NSObject <NSSecureCoding, NSCopying, HBUniqueObject> +@interface HBJob : NSObject <NSSecureCoding, NSCopying, HBPresetCoding, HBUniqueObject> - (instancetype)initWithTitle:(HBTitle *)title andPreset:(HBPreset *)preset; -- (void)applyPreset:(HBPreset *)preset; -- (void)applyCurrentSettingsToPreset:(NSMutableDictionary *)dict; - /// Current state of the job. @property (nonatomic, readwrite) HBJobState state; |