aboutsummaryrefslogtreecommitdiff
path: root/core/os/file_access.h
diff options
context:
space:
mode:
authorMarcelo Fernandez2017-09-17 14:40:58 -0300
committerMarcelo Fernandez2017-09-17 14:40:58 -0300
commit3528b1e571dee24917b0141232f135e29bf088ba (patch)
tree1994ea234d7c52dac02084242671348844bed3fc /core/os/file_access.h
parent574a5714dcbf5fcf126f3f99caab62a345e665c1 (diff)
downloadgodot-3528b1e571dee24917b0141232f135e29bf088ba.tar.gz
godot-3528b1e571dee24917b0141232f135e29bf088ba.tar.zst
godot-3528b1e571dee24917b0141232f135e29bf088ba.zip
Diffstat (limited to 'core/os/file_access.h')
-rw-r--r--core/os/file_access.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/file_access.h b/core/os/file_access.h
index 8e5728f52..151c41c26 100644
--- a/core/os/file_access.h
+++ b/core/os/file_access.h
@@ -140,6 +140,8 @@ public:
virtual Error reopen(const String &p_path, int p_mode_flags); ///< does not change the AccessType
+ virtual Error _chmod(const String &p_path, int p_mod) {}
+
static FileAccess *create(AccessType p_access); /// Create a file access (for the current platform) this is the only portable way of accessing files.
static FileAccess *create_for_path(const String &p_path);
static FileAccess *open(const String &p_path, int p_mode_flags, Error *r_error = NULL); /// Create a file access (for the current platform) this is the only portable way of accessing files.