GameKit  0.0.1a
C++ gamedev tools
IResourceLoader.hpp
Go to the documentation of this file.
1 /*
2  * =====================================================================================
3  *
4  * Filename: IResourceLoader.hpp
5  *
6  * Description:
7  *
8  * Created: 17/01/2018 19:31:24
9  *
10  * Author: Quentin Bazin, <quent42340@gmail.com>
11  *
12  * =====================================================================================
13  */
14 #ifndef GK_IRESOURCELOADER_HPP_
15 #define GK_IRESOURCELOADER_HPP_
16 
17 #include <string>
18 
19 namespace gk {
20 
21 class ResourceHandler;
22 
24  public:
25  virtual ~IResourceLoader() = default;
26 
27  virtual void load(const char *xmlFilename, ResourceHandler &handler) = 0;
28 };
29 
30 } // namespace gk
31 
32 #endif // GK_RESOURCELOADER_HPP_
virtual ~IResourceLoader()=default
virtual void load(const char *xmlFilename, ResourceHandler &handler)=0