#include <luarunner.h>
Public Member Functions | |
| LuaRunner (LuaState &luaState) | |
| void | runFile (const ASCString &filename) |
| void | runCommand (const ASCString &command) |
| const ASCString & | getErrors () |
Definition at line 12 of file luarunner.h.
| LuaRunner::LuaRunner | ( | LuaState & | luaState | ) |
Definition at line 19 of file luarunner.cpp.
| void LuaRunner::runFile | ( | const ASCString & | filename | ) |
Definition at line 25 of file luarunner.cpp.
References LuaState::get(), tn_c_lzw_filestream::getLocation(), line(), tnstream::reading, and tnstream::readString().
Referenced by loadLocalizedMessageFile(), LuaBrush::place(), runScript(), and selectAndRunLuaScript().
| void LuaRunner::runCommand | ( | const ASCString & | command | ) |
| const ASCString & LuaRunner::getErrors | ( | ) |
Definition at line 61 of file luarunner.cpp.
Referenced by loadLocalizedMessageFile(), LuaBrush::place(), runScript(), and selectAndRunLuaScript().
1.5.1