[macOS] Implement optional native file selection dialog support for sandboxed apps.

This commit is contained in:
bruvzg 2021-03-30 15:42:50 +03:00
parent 60f3b7967c
commit 4790da7900
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
20 changed files with 395 additions and 5 deletions

View file

@ -234,10 +234,12 @@ public:
Thread::ID get_main_thread_id() const;
bool has_feature(const String &p_feature) const;
bool is_sandboxed() const;
bool request_permission(const String &p_name);
bool request_permissions();
Vector<String> get_granted_permissions() const;
void revoke_granted_permissions();
static OS *get_singleton() { return singleton; }