From 725ea566a2b6a12e0a02e4f570b6e99102e2d21b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 8 Apr 2019 21:04:12 +0200 Subject: Refactor, remove a lot of code and use dchat core instead --- include/ResourceCache.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ResourceCache.hpp') diff --git a/include/ResourceCache.hpp b/include/ResourceCache.hpp index 75ebd88..ab7a921 100644 --- a/include/ResourceCache.hpp +++ b/include/ResourceCache.hpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include @@ -24,5 +25,7 @@ namespace dchat static sf::Texture* getTexture(const std::string &filepath); static sf::Shader* getShader(const std::string &filepath, sf::Shader::Type shaderType); + + static Cache* getCache(); }; } -- cgit v1.2.3-70-g09d2