diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:55:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-22 01:55:26 +0300 |
commit | ec856b2026c7ceecab5f74942bb36661d7c6ae67 (patch) | |
tree | 43d52203d73144c184c648c8cc3badd723347079 /src/resources/resourcemanager.h | |
parent | fb0dad2c1b014efe72f67a9da149083aee703f92 (diff) | |
download | plus-ec856b2026c7ceecab5f74942bb36661d7c6ae67.tar.gz plus-ec856b2026c7ceecab5f74942bb36661d7c6ae67.tar.bz2 plus-ec856b2026c7ceecab5f74942bb36661d7c6ae67.tar.xz plus-ec856b2026c7ceecab5f74942bb36661d7c6ae67.zip |
Add init to resource manager.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index 9d954cf50..9e3480380 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -255,6 +255,8 @@ class ResourceManager final void clearCache(); + void static init(); + private: /** * Deletes the resource after logging a cleanup message. @@ -273,4 +275,6 @@ class ResourceManager final bool mUseLongLiveSprites; }; +extern ResourceManager *resourceManager; + #endif // RESOURCES_RESOURCEMANAGER_H |