00001 00002 00003 #ifndef luaRunnerH 00004 #define luaRunnerH 00005 00006 #include <list> 00007 00008 #include "../ascstring.h" 00009 00010 class LuaState; 00011 00012 class LuaRunner { 00013 LuaState& state; 00014 00015 ASCString errors; 00016 00017 public: 00018 LuaRunner( LuaState& luaState ); 00019 00020 void runFile( const ASCString& filename ); 00021 void runCommand( const ASCString& command ); 00022 00023 const ASCString& getErrors(); 00024 00025 }; 00026 #endif
1.5.1