summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBJob.h')
-rw-r--r--macosx/HBJob.h7
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;