summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-26 00:00:25 +0100
committerGitHub <noreply@github.com>2021-03-26 00:00:25 +0100
commitc6b9ceadf2d2c220acdb4081e488c13de9d5f52c (patch)
tree8a559005793cac75fa6bac3137ade57cb51ee997 /core/os
parentb3a409f4aa8808975441b3db461a20b317324873 (diff)
parentb202a0dd2aa5c93b9fa14d6056513b0a537a9644 (diff)
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
Diffstat (limited to 'core/os')
-rw-r--r--core/os/dir_access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/dir_access.h b/core/os/dir_access.h
index c49c4cc4b8..7f0bcd372d 100644
--- a/core/os/dir_access.h
+++ b/core/os/dir_access.h
@@ -84,6 +84,8 @@ public:
virtual bool file_exists(String p_file) = 0;
virtual bool dir_exists(String p_dir) = 0;
+ virtual bool is_readable(String p_dir) { return true; };
+ virtual bool is_writable(String p_dir) { return true; };
static bool exists(String p_dir);
virtual size_t get_space_left() = 0;