summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPreviewGenerator.h')
-rw-r--r--macosx/HBPreviewGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPreviewGenerator.h b/macosx/HBPreviewGenerator.h
index 577fe2d6e..42cf013a0 100644
--- a/macosx/HBPreviewGenerator.h
+++ b/macosx/HBPreviewGenerator.h
@@ -4,7 +4,7 @@
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
@class HBCore;
@class HBJob;
@@ -25,7 +25,7 @@
- (instancetype)initWithCore:(HBCore *)core job:(HBJob *)job;
/* Still image generator */
-- (NSImage *) imageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache;
+- (CGImageRef) imageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache;
- (NSUInteger) imagesCount;
- (void) purgeImageCache;