diff options
Diffstat (limited to 'macosx/HBPreviewGenerator.h')
-rw-r--r-- | macosx/HBPreviewGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPreviewGenerator.h b/macosx/HBPreviewGenerator.h index 50fe42400..64805e62e 100644 --- a/macosx/HBPreviewGenerator.h +++ b/macosx/HBPreviewGenerator.h @@ -22,12 +22,12 @@ @interface HBPreviewGenerator : NSObject -@property (nonatomic, assign) id <HBPreviewGeneratorDelegate> delegate; +@property (nonatomic, unsafe_unretained) id <HBPreviewGeneratorDelegate> delegate; - (instancetype)initWithCore:(HBCore *)core job:(HBJob *)job; /* Still image generator */ -- (CGImageRef) imageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache; +- (CGImageRef) copyImageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache; - (NSUInteger) imagesCount; - (void) purgeImageCache; |