From bc95b0b17145e0e8df7e92ae5bea689112afab85 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 16 Feb 2023 15:25:32 +0200 Subject: Restore FileAccess.close method. --- core/io/file_access.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/io/file_access.h') diff --git a/core/io/file_access.h b/core/io/file_access.h index 3e51ba11ed..47770cad87 100644 --- a/core/io/file_access.h +++ b/core/io/file_access.h @@ -166,6 +166,8 @@ public: void store_var(const Variant &p_var, bool p_full_objects = false); + virtual void close() = 0; + virtual bool file_exists(const String &p_name) = 0; ///< return true if a file exists virtual Error reopen(const String &p_path, int p_mode_flags); ///< does not change the AccessType -- cgit v1.2.3