From ee52b3eab8cc7feb49fa6db964b94b35e2bc8bac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 1 Oct 2014 20:30:01 +0200 Subject: reading some Lua globals --- include/luaglue/LuaVM.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/luaglue/LuaVM.hpp b/include/luaglue/LuaVM.hpp index 48faaeb..a8a6524 100755 --- a/include/luaglue/LuaVM.hpp +++ b/include/luaglue/LuaVM.hpp @@ -3,19 +3,24 @@ #include "lua.hpp" +#include + class LuaVM { public: LuaVM( ); ~LuaVM( ); - void loadSource( const char *filename ); + void loadSource( const char *sourceFilename ); + void executeMain( ); + void dumpState( ); private: void initialize( ); private: lua_State *m_lua; + std::string m_sourceFilename; }; #endif -- cgit v1.2.3-54-g00ecf