summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2013-12-03 17:01:56 +0000
committerritsuka <[email protected]>2013-12-03 17:01:56 +0000
commit037efe2d010f7983cb83879850e276af38d57a80 (patch)
treec0658d1fbebe5edb7170e72c28fa4ec73d399c74 /macosx/HBPreviewGenerator.h
parent87ba2a39cc223742796170d87a8563c2e64910d8 (diff)
MacGUI: Release the cached images when the preview window is closed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5912 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.h')
-rw-r--r--macosx/HBPreviewGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewGenerator.h b/macosx/HBPreviewGenerator.h
index e17114c45..438d078aa 100644
--- a/macosx/HBPreviewGenerator.h
+++ b/macosx/HBPreviewGenerator.h
@@ -22,7 +22,7 @@
- (id) initWithHandle: (hb_handle_t *) handle andTitle: (hb_title_t *) title;
/* Still image generator */
-- (NSImage *) imageAtIndex: (NSUInteger) index;
+- (NSImage *) imageAtIndex: (NSUInteger) index shouldCache: (BOOL) cache;
- (NSUInteger) imagesCount;
- (void) purgeImageCache;