diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-03-26 00:00:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 00:00:25 +0100 |
commit | c6b9ceadf2d2c220acdb4081e488c13de9d5f52c (patch) | |
tree | 8a559005793cac75fa6bac3137ade57cb51ee997 /core/os | |
parent | b3a409f4aa8808975441b3db461a20b317324873 (diff) | |
parent | b202a0dd2aa5c93b9fa14d6056513b0a537a9644 (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.h | 2 |
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; |