diff options
author | ritsuka <[email protected]> | 2014-12-20 17:37:18 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-20 17:37:18 +0000 |
commit | 35ee296426789c3ab55abd69d86509ae36ce6f81 (patch) | |
tree | 1f7b4f8443fa5b524a52c2c72b5a1b81d091d85b /macosx/HBJob.h | |
parent | 3db4de8fa29af0c883f0bd90333629d79d64183b (diff) |
MacGui: small improvements to HBTitle and HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6625 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.h')
-rw-r--r-- | macosx/HBJob.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/macosx/HBJob.h b/macosx/HBJob.h index 5fec2e079..bb69ed773 100644 --- a/macosx/HBJob.h +++ b/macosx/HBJob.h @@ -6,9 +6,7 @@ #import <Foundation/Foundation.h> -@class HBPreset; - -@class HBTitle; +#import "HBTitle.h" #import "HBVideo.h" #import "HBPicture.h" @@ -17,6 +15,8 @@ @class HBAudioDefaults; @class HBSubtitlesDefaults; +@class HBPreset; + typedef NS_ENUM(NSUInteger, HBJobStatus) { HBJobStatusNone, HBJobStatusWorking, @@ -30,6 +30,7 @@ typedef NS_ENUM(NSUInteger, HBJobStatus) { @interface HBJob : NSObject <NSCoding, NSCopying> - (instancetype)initWithTitle:(HBTitle *)title url:(NSURL *)fileURL andPreset:(HBPreset *)preset; +- (void)applyPreset:(HBPreset *)preset; @property (nonatomic, readonly) HBJobStatus status; |