]> git.tdb.fi Git - libs/game.git/blob - source/game/resources.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / resources.h
1 #ifndef MSP_GAME_RESOURCES_H_
2 #define MSP_GAME_RESOURCES_H_
3
4 #include <msp/datafile/collection.h>
5 #include <msp/datafile/directorysource.h>
6 #include <msp/datafile/packsource.h>
7 #include <msp/fs/path.h>
8 #include "mspgame_api.h"
9
10 namespace Msp::Game {
11
12 class MSPGAME_API Resources: virtual public DataFile::Collection
13 {
14 public:
15 };
16
17 class MSPGAME_API ApplicationResources: public Resources
18 {
19 private:
20         DataFile::DirectorySource dir_src;
21         DataFile::PackSource pack_src;
22
23 public:
24         ApplicationResources();
25
26 private:
27         void add_dir(const FS::Path &);
28 };
29
30 } // namespace Msp::Game
31
32 #endif