Advanced Strategic Command
luarunner.h
Go to the documentation of this file.
1 
2 
3 #ifndef luaRunnerH
4 #define luaRunnerH
5 
6 #include <list>
7 
8 #include "../ascstring.h"
9 
10 class LuaState;
11 
12 class LuaRunner {
13  LuaState& state;
14 
15  ASCString errors;
16 
17  public:
18  LuaRunner( LuaState& luaState );
19 
20  void runFile( const ASCString& filename );
21  void runCommand( const ASCString& command );
22 
23  const ASCString& getErrors();
24 
25 };
26 #endif
LuaRunner(LuaState &luaState)
Definition: luarunner.cpp:19
void runFile(const ASCString &filename)
Definition: luarunner.cpp:25
void runCommand(const ASCString &command)
Definition: luarunner.cpp:48
The ASCString class provides an abstract way to manipulate strings.
Definition: ascstring.h:14
const ASCString & getErrors()
Definition: luarunner.cpp:61