summaryrefslogtreecommitdiff
path: root/include/LuaTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/LuaTask.h')
-rw-r--r--include/LuaTask.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/LuaTask.h b/include/LuaTask.h
index fcc1363..eded9ac 100644
--- a/include/LuaTask.h
+++ b/include/LuaTask.h
@@ -1,6 +1,8 @@
#ifndef __LUATASK_H__
#define __LUATASK_H__
+#include <hashtab.h>
+
#include <Task.h>
#include <Buffer.h>
#include <BLua.h>
@@ -9,12 +11,14 @@
class LuaTask : public Task {
public:
LuaTask(Lua *, const String &);
- LuaTask(Lua *, int);
+ LuaTask(Lua *, int) throw (GeneralException);
virtual ~LuaTask();
virtual String GetName();
protected:
virtual int Do() throw (GeneralException);
private:
+ LuaTask * gettop();
+ void settop(LuaTask *);
Lua * L;
String cmd;
int nargs, stacktop, r;
@@ -24,7 +28,7 @@ class LuaTask : public Task {
String task;
- static LuaTask * top;
+ static htab * h;
};
#endif