diff options
Diffstat (limited to 'macosx/HBCore.h')
-rw-r--r-- | macosx/HBCore.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/HBCore.h b/macosx/HBCore.h index a0a831e5b..f78c26c55 100644 --- a/macosx/HBCore.h +++ b/macosx/HBCore.h @@ -8,6 +8,8 @@ #include "hb.h" +@class HBJob; + // These constants specify the current state of HBCore. typedef NS_ENUM(NSUInteger, HBState) { HBStateIdle = HB_STATE_IDLE, ///< HB is doing nothing @@ -111,6 +113,13 @@ extern NSString *HBCoreMuxingNotification; @property (nonatomic, readonly) NSArray *titles; /** + * Starts an asynchronous encoding session with the passed job. + * + * @param job the job to encode. + */ +- (void)encodeJob:(HBJob *)job; + +/** * Starts the libhb encoding session. * * This method must be called after all jobs have been added. |