LuaRunner Class Reference

#include <luarunner.h>

List of all members.

Public Member Functions

 LuaRunner (LuaState &luaState)
void runFile (const ASCString &filename)
void runCommand (const ASCString &command)
const ASCStringgetErrors ()


Detailed Description

Definition at line 12 of file luarunner.h.


Constructor & Destructor Documentation

LuaRunner::LuaRunner ( LuaState luaState  ) 

Definition at line 19 of file luarunner.cpp.


Member Function Documentation

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  ) 

Definition at line 48 of file luarunner.cpp.

References LuaState::get().

const ASCString & LuaRunner::getErrors (  ) 

Definition at line 61 of file luarunner.cpp.

Referenced by loadLocalizedMessageFile(), LuaBrush::place(), runScript(), and selectAndRunLuaScript().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:57 2012 for Advanced Strategic Command by  doxygen 1.5.1