From a3d00959f42f940e8d3c2b73fb92a951cbf94472 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 20 Jan 2017 18:52:22 +0100 Subject: MacGui: initial sandbox support. Added two new scheme RELEASE-SANDBOX and DEBUG-SANDBOX to build HandBrake with sandbox enabled. --- macosx/HBUtilities.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'macosx/HBUtilities.h') diff --git a/macosx/HBUtilities.h b/macosx/HBUtilities.h index af5538fb9..c7f195b1f 100644 --- a/macosx/HBUtilities.h +++ b/macosx/HBUtilities.h @@ -30,12 +30,15 @@ NS_ASSUME_NONNULL_BEGIN */ + (void)writeToActivityLog:(const char *)format, ...; ++ (nullable NSURL *)URLFromBookmark:(NSData *)bookmark; ++ (nullable NSData *)bookmarkFromURL:(NSURL *)url; + + (NSString *)displayNameForURL:(NSURL *)URL; + (NSURL *)mediaURLFromURL:(NSURL *)URL; + (NSString *)automaticNameForJob:(HBJob *)job; + (NSString *)automaticExtForJob:(HBJob *)job; -+ (NSURL *)destURLForJob:(HBJob *)job; ++ (NSString *)defaultNameForJob:(HBJob *)job; /** * Generates a file name automatically based on the inputs, -- cgit v1.2.3