summaryrefslogtreecommitdiffstats
path: root/macosx/HBUtilities.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-06-08 17:46:01 +0200
committerDamiano Galassi <[email protected]>2019-06-08 17:46:01 +0200
commit727dc9879454c0aea3b2cf4aecbd54d95d8ae45b (patch)
treedcb787647dde0e6a520e8c834021eceba95999ad /macosx/HBUtilities.h
parentfd2c883de4cea7094c08fed7ea22418ec3472281 (diff)
MacGui: fix queue sleep and shutdown on 10.14 and under sandbox.
Diffstat (limited to 'macosx/HBUtilities.h')
-rw-r--r--macosx/HBUtilities.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBUtilities.h b/macosx/HBUtilities.h
index edf25ed73..aa87f4f1b 100644
--- a/macosx/HBUtilities.h
+++ b/macosx/HBUtilities.h
@@ -70,6 +70,14 @@ NS_ASSUME_NONNULL_BEGIN
+ (NSString *)iso6392CodeFor:(NSString *)language;
+ (NSString *)languageCodeForIso6392Code:(NSString *)language;
+typedef NS_ENUM(NSUInteger, HBPrivacyConsentState) {
+ HBPrivacyConsentStateUnknown,
+ HBPrivacyConsentStateDenied,
+ HBPrivacyConsentStateGranted,
+};
+
++ (HBPrivacyConsentState)determinePermissionToAutomateTarget:(NSString *)bundleIdentifier promptIfNeeded:(BOOL)promptIfNeeded;
+
@end
NS_ASSUME_NONNULL_END