aboutsummaryrefslogtreecommitdiff
path: root/include/ResourceCache.hpp
diff options
context:
space:
mode:
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();
};
}