summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-04-09 19:43:33 +0000
committerritsuka <[email protected]>2015-04-09 19:43:33 +0000
commitf360714523e5f1f78ced2ae8691f3087b80eef65 (patch)
tree026c25eeba6d089a53ee1f73aed7329a318088cd /macosx/HBCore.h
parentf0cc63a21d2e4510f911c4cde75d051aec3e5635 (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.h15
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.