define resource loader
This commit is contained in:
parent
81f252dd96
commit
c18005d26b
1 changed files with 9 additions and 0 deletions
9
src/util/resourceloader.hpp
Normal file
9
src/util/resourceloader.hpp
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
class ResourceLoader {
|
||||||
|
/*
|
||||||
|
* Loads a file from the given path relative to project root.
|
||||||
|
*/
|
||||||
|
std::string Load(std::string path);
|
||||||
|
};
|
||||||
Loading…
Add table
Reference in a new issue