aboutsummaryrefslogtreecommitdiff
path: root/include/ResourceCache.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-04-08 21:04:12 +0200
committerdec05eba <dec05eba@protonmail.com>2019-04-08 21:04:17 +0200
commit725ea566a2b6a12e0a02e4f570b6e99102e2d21b (patch)
treed35a338392e15f50402c2055d520e7b1c3ea36a2 /include/ResourceCache.hpp
parent4aac8df198e3a5bd9c6efc95cdf4c520c2e05401 (diff)
Refactor, remove a lot of code and use dchat core instead
Diffstat (limited to 'include/ResourceCache.hpp')
-rw-r--r--include/ResourceCache.hpp3
1 files changed, 3 insertions, 0 deletions
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 <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Graphics/Shader.hpp>
+#include <dchat/Cache.hpp>
#include <string>
#include <stdexcept>
@@ -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();
};
}