summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-10 15:15:04 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-10 15:15:04 -0300
commit52e53d45137eb5bc667db6323c79baebb1651b5b (patch)
treeab5420d690b459550ed9c712397c59c4bff617e8 /core/os
parent4fdab4f555f3f7e1d3b070244d88ce18c3282a15 (diff)
-Added a new mode, WRITE_READ to File, to recover compatibility with old projects but also achieve desired functionality. Closes #3272
Diffstat (limited to 'core/os')
-rw-r--r--core/os/file_access.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/file_access.h b/core/os/file_access.h
index 35514a129f..51cf839117 100644
--- a/core/os/file_access.h
+++ b/core/os/file_access.h
@@ -78,6 +78,7 @@ public:
READ=1,
WRITE=2,
READ_WRITE=3,
+ WRITE_READ=7,
};
virtual void close()=0; ///< close a file