summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_encrypted.h
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2019-09-07 19:22:33 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2019-09-07 19:22:33 +0200
commitafe34344a6f1a803aabb30cf632c9adc54dea095 (patch)
tree93118e18ceb60f647e6d64588c9ef90c493c8b34 /core/io/file_access_encrypted.h
parentd1a062662fb1da17cb9aec92e8b218929cb26fd6 (diff)
downloadredot-engine-afe34344a6f1a803aabb30cf632c9adc54dea095.tar.gz
Implemented get_path() & get_path_absolute() for FileAccessEncrypted
Diffstat (limited to 'core/io/file_access_encrypted.h')
-rw-r--r--core/io/file_access_encrypted.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index d779a150ac..c3be0f7de8 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -60,6 +60,9 @@ public:
virtual void close(); ///< close a file
virtual bool is_open() const; ///< true when file is open
+ virtual String get_path() const; /// returns the path for the current open file
+ virtual String get_path_absolute() const; /// returns the absolute path for the current open file
+
virtual void seek(size_t p_position); ///< seek to a given position
virtual void seek_end(int64_t p_position = 0); ///< seek from the end of file
virtual size_t get_position() const; ///< get position in the file