summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-09-29 19:23:23 +0200
committerDamiano Galassi <[email protected]>2015-09-29 19:23:23 +0200
commit3a0453a7b705b9a15941eafb2997bbd18b00cfc7 (patch)
treec3f4d26275a19d092963a71af1a9b5801f63497b /macosx/HBCore.h
parent291243c3fcd34282a700b059995c27a993b12e71 (diff)
MacGui: read the actual preview count so we don't try to load a non existing image
Diffstat (limited to 'macosx/HBCore.h')
-rw-r--r--macosx/HBCore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBCore.h b/macosx/HBCore.h
index 1d7a4e279..c8817b220 100644
--- a/macosx/HBCore.h
+++ b/macosx/HBCore.h
@@ -137,6 +137,11 @@ typedef void (^HBCoreCompletionHandler)(BOOL success);
deinterlace:(BOOL)deinterlace CF_RETURNS_RETAINED;
/**
+ * Returns the counts of the available previews images.
+ */
+- (NSUInteger)imagesCountForTitle:(HBTitle *)title;
+
+/**
* Initiates an asynchronous encode operation and returns immediately.
*
* @param job the job to encode