NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
resource.hpp
1#pragma once
2#include <lib/nw4r/lyt/lyt_resource.hpp>
3
4namespace m2d {
5
6class ResAccIf_c {
7public:
8 virtual ~ResAccIf_c() = 0;
9 virtual void creater() = 0;
10
11 bool attach(void *, const char *);
12 void detach();
13 void *getResource(unsigned long, const char *);
14
15private:
16 nw4r::lyt::ResourceAccessor *mpResAccessor;
17 void *mpResource;
18};
19
20} // namespace m2d