summaryrefslogtreecommitdiff
path: root/includes/LuaTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/LuaTask.h')
-rw-r--r--includes/LuaTask.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/LuaTask.h b/includes/LuaTask.h
index 2ed0156..a12f89f 100644
--- a/includes/LuaTask.h
+++ b/includes/LuaTask.h
@@ -16,6 +16,7 @@ class LuaExecCell {
LuaExecCell();
virtual ~LuaExecCell() { if (m_exception) delete m_exception; }
void detach() { m_detached = true; }
+ void exec(Lua & L);
void exec(LuaMainTask * mainTask);
bool gotError() { return m_gotError || m_exception; }
void throwError() throw (GeneralException);
@@ -27,6 +28,7 @@ class LuaExecCell {
Events::Async m_event;
bool m_detached = false;
bool m_gotError = false;
+ bool m_running = false;
GeneralException * m_exception = NULL;
friend class LuaTask;