diff options
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index e518883fa..eef584f27 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -23,6 +23,8 @@ #ifndef RESOURCES_RESOURCEMANAGER_H #define RESOURCES_RESOURCEMANAGER_H +#include "resources/memorycounter.h" + #include "enums/simpletypes/append.h" #include "utils/stringvector.h" @@ -47,7 +49,7 @@ struct SDL_RWops; /** * A class for loading and managing resources. */ -class ResourceManager final +class ResourceManager final : public MemoryCounter { friend class Resource; @@ -253,6 +255,10 @@ class ResourceManager final void clearCache(); + int calcMemoryLocal() override final; + + int calcMemoryChilds(const int level) override final; + static void init(); private: |