diff options
author | ritsuka <[email protected]> | 2015-04-09 19:43:33 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-04-09 19:43:33 +0000 |
commit | f360714523e5f1f78ced2ae8691f3087b80eef65 (patch) | |
tree | 026c25eeba6d089a53ee1f73aed7329a318088cd /macosx/HBCore.h | |
parent | f0cc63a21d2e4510f911c4cde75d051aec3e5635 (diff) |
MacGui: run the Xcode "convert to modern objective-c" on the entire project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBCore.h')
-rw-r--r-- | macosx/HBCore.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/macosx/HBCore.h b/macosx/HBCore.h index 083ac5d51..58ecb43ca 100644 --- a/macosx/HBCore.h +++ b/macosx/HBCore.h @@ -62,9 +62,18 @@ typedef void (^HBCoreCompletionHandler)(BOOL success); * Opens low level HandBrake library. This should be called once before other * functions HBCore are used. * - * @param loggingLevel the desired libhb logging level. + * @param level the desired libhb logging level. */ -- (instancetype)initWithLoggingLevel:(int)loggingLevel; +- (instancetype)initWithLogLevel:(int)level NS_DESIGNATED_INITIALIZER; + +/** + * Opens low level HandBrake library. This should be called once before other + * functions HBCore are used. + * + * @param level the desired libhb logging level + * @param name the instance debug name + */ +- (instancetype)initWithLogLevel:(int)level name:(NSString *)name; /** * Current state of HBCore. @@ -123,7 +132,7 @@ typedef void (^HBCoreCompletionHandler)(BOOL success); - (CGImageRef)copyImageAtIndex:(NSUInteger)index forTitle:(HBTitle *)title pictureFrame:(HBPicture *)frame - deinterlace:(BOOL)deinterlace; + deinterlace:(BOOL)deinterlace CF_RETURNS_RETAINED; /** * Initiates an asynchronous encode operation and returns immediately. |