summaryrefslogtreecommitdiffstats
path: root/core/io/file_access_encrypted.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-04-12 14:16:52 +0200
committerGitHub <noreply@github.com>2022-04-12 14:16:52 +0200
commitc28d7813445a897a371105ddb8f42ee68fafea0c (patch)
tree29e4202a2b47505fe1dcfb0b6507cbb7f5d421e8 /core/io/file_access_encrypted.h
parent603b1315a711f427a581445c9680116bee0ef755 (diff)
parentd2ebac3a302f41223ab86f5bc2862dd3a050a010 (diff)
downloadredot-engine-c28d7813445a897a371105ddb8f42ee68fafea0c.tar.gz
Merge pull request #60169 from bruvzg/remove_fa_close
Diffstat (limited to 'core/io/file_access_encrypted.h')
-rw-r--r--core/io/file_access_encrypted.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/io/file_access_encrypted.h b/core/io/file_access_encrypted.h
index 5d0b369fbf..0d1ee6a4d8 100644
--- a/core/io/file_access_encrypted.h
+++ b/core/io/file_access_encrypted.h
@@ -54,15 +54,13 @@ private:
mutable bool eofed = false;
bool use_magic = true;
- void _release();
+ void _close();
public:
Error open_and_parse(Ref<FileAccess> p_base, const Vector<uint8_t> &p_key, Mode p_mode, bool p_with_magic = true);
Error open_and_parse_password(Ref<FileAccess> p_base, const String &p_key, Mode p_mode);
virtual Error _open(const String &p_path, int p_mode_flags); ///< open a file
- virtual void close(); ///< close a file
- virtual void release(); ///< finish and keep base file open
virtual bool is_open() const; ///< true when file is open
virtual String get_path() const; /// returns the path for the current open file