GameKit
0.0.1a
C++ gamedev tools
include
gk
resource
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
23
class
IResourceLoader
{
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_
gk::ResourceHandler
Definition:
ResourceHandler.hpp:26
gk::IResourceLoader::~IResourceLoader
virtual ~IResourceLoader()=default
gk
Definition:
AudioPlayer.hpp:21
gk::IResourceLoader
Definition:
IResourceLoader.hpp:23
gk::IResourceLoader::load
virtual void load(const char *xmlFilename, ResourceHandler &handler)=0
Generated by
1.8.12