1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef __LUA_VM_H #define __LUA_VM_H #include "lua.hpp" class LuaVM { public: LuaVM( ); ~LuaVM( ); void loadSource( const char *filename ); private: void initialize( ); private: lua_State *m_lua; }; #endif