diff options
Diffstat (limited to 'src/FbTk/LResource.hh')
-rw-r--r-- | src/FbTk/LResource.hh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/FbTk/LResource.hh b/src/FbTk/LResource.hh index 1125707..1567269 100644 --- a/src/FbTk/LResource.hh +++ b/src/FbTk/LResource.hh | |||
@@ -29,25 +29,22 @@ | |||
29 | 29 | ||
30 | #include "Resource.hh" | 30 | #include "Resource.hh" |
31 | 31 | ||
32 | namespace lua { | ||
33 | class state; | ||
34 | } | ||
35 | |||
36 | namespace FbTk { | 32 | namespace FbTk { |
37 | 33 | ||
34 | class Lua; | ||
35 | |||
38 | class LResourceManager: public ResourceManager_base { | 36 | class LResourceManager: public ResourceManager_base { |
39 | public: | 37 | public: |
40 | static void initState(lua::state &l); | ||
41 | static void convert(ResourceManager &old, const std::string &new_file); | 38 | static void convert(ResourceManager &old, const std::string &new_file); |
42 | 39 | ||
43 | LResourceManager(const std::string &root, lua::state &l); | 40 | LResourceManager(const std::string &root, Lua &l); |
44 | virtual bool save(const char *filename, const char *); | 41 | virtual bool save(const char *filename, const char *); |
45 | virtual void addResource(Resource_base &r); | 42 | virtual void addResource(Resource_base &r); |
46 | virtual void removeResource(Resource_base &r); | 43 | virtual void removeResource(Resource_base &r); |
47 | 44 | ||
48 | private: | 45 | private: |
49 | 46 | ||
50 | lua::state *m_l; | 47 | Lua *m_l; |
51 | }; | 48 | }; |
52 | 49 | ||
53 | } // end namespace FbTk | 50 | } // end namespace FbTk |