summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.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/HBPreviewGenerator.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/HBPreviewGenerator.h')
-rw-r--r--macosx/HBPreviewGenerator.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBPreviewGenerator.h b/macosx/HBPreviewGenerator.h
index b80f5b122..4aa019c99 100644
--- a/macosx/HBPreviewGenerator.h
+++ b/macosx/HBPreviewGenerator.h
@@ -24,15 +24,15 @@
@property (nonatomic, unsafe_unretained) id <HBPreviewGeneratorDelegate> delegate;
-- (instancetype)initWithCore:(HBCore *)core job:(HBJob *)job;
+- (instancetype)initWithCore:(HBCore *)core job:(HBJob *)job NS_DESIGNATED_INITIALIZER;
/* Still image generator */
-- (CGImageRef) copyImageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache;
-- (NSUInteger) imagesCount;
-- (CGSize)imageSize;
+- (CGImageRef) copyImageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache CF_RETURNS_RETAINED;
+@property (nonatomic, readonly) NSUInteger imagesCount;
+@property (nonatomic, readonly) CGSize imageSize;
- (void) purgeImageCache;
-- (NSString *)info;
+@property (nonatomic, readonly, copy) NSString *info;
/* Video generator */
- (BOOL) createMovieAsyncWithImageAtIndex: (NSUInteger) index duration: (NSUInteger) seconds;