aboutsummaryrefslogtreecommitdiff
path: root/core/io/file_access_pack.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-20 19:38:02 -0300
committerJuan Linietsky2015-04-20 19:38:02 -0300
commit59154cccf9fcf814a21a2596993fb1b6777d3bb7 (patch)
tree4132620a9d924463dae4b64fea2dde68a14023e7 /core/io/file_access_pack.h
parent28c4afeb5733f9ca9725ab2a5f4066af8e02b2a6 (diff)
downloadgodot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.tar.gz
godot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.tar.zst
godot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.zip
Diffstat (limited to 'core/io/file_access_pack.h')
-rw-r--r--core/io/file_access_pack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/file_access_pack.h b/core/io/file_access_pack.h
index aed0f5eb7..5bf5ad012 100644
--- a/core/io/file_access_pack.h
+++ b/core/io/file_access_pack.h
@@ -96,6 +96,8 @@ private:
static PackedData *singleton;
bool disabled;
+ void _free_packed_dirs(PackedDir *p_dir);
+
public:
void add_pack_source(PackSource* p_source);
@@ -111,6 +113,7 @@ public:
_FORCE_INLINE_ bool has_path(const String& p_path);
PackedData();
+ ~PackedData();
};
class PackSource {
@@ -119,6 +122,7 @@ public:
virtual bool try_open_pack(const String& p_path)=0;
virtual FileAccess* get_file(const String& p_path, PackedData::PackedFile* p_file)=0;
+ virtual ~PackSource() {}
};
class PackedSourcePCK : public PackSource {