fix timer thing, still *broken*
[exterlulz-musk.git] / src / musk / lua_vm.h
blobe15972f26015a0dd7f727a1fb64bf2ecd939617b
1 #ifndef MUSK_LUA_VM_H_
2 #define MUSK_LUA_VM_H_
4 struct lua_State;
6 #include <string>
8 namespace musk {
10 class LuaVM
12 public:
13 LuaVM();
14 ~LuaVM();
16 void doFile(const std::string& filename);
18 int globalIntegerInTable(const std::string& table, const std::string& variable) const;
19 void callFunction(const std::string& f);
21 private:
22 lua_State *L_;
25 } // namespace musk
27 #endif // MUSK_LUA_VM_H_