summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-19 14:01:03 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-03-23 08:03:41 +0200
commitb202a0dd2aa5c93b9fa14d6056513b0a537a9644 (patch)
tree2085be1a385e3fdb92813c07a47db802432a40fe /core
parent03392009725b1a81928865d4f382a2de79e65f54 (diff)
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
Diffstat (limited to 'core')
-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;