summaryrefslogtreecommitdiffstats
path: root/modules/zip/zip_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zip/zip_reader.h')
-rw-r--r--modules/zip/zip_reader.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/zip/zip_reader.h b/modules/zip/zip_reader.h
index c074197eb4..874bd81ed3 100644
--- a/modules/zip/zip_reader.h
+++ b/modules/zip/zip_reader.h
@@ -46,11 +46,12 @@ protected:
static void _bind_methods();
public:
- Error open(String p_path);
+ Error open(const String &p_path);
Error close();
PackedStringArray get_files();
- PackedByteArray read_file(String p_path, bool p_case_sensitive);
+ PackedByteArray read_file(const String &p_path, bool p_case_sensitive);
+ bool file_exists(const String &p_path, bool p_case_sensitive);
ZIPReader();
~ZIPReader();