diff options
author | pixel <pixel> | 2007-04-11 09:36:12 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-11 09:36:12 +0000 |
commit | 5f5be5d1e78ef0a95bc7ea66103c8d3cc35bcec1 (patch) | |
tree | b62bd79ce44f88f7c7cadd7a15e242ea151a0fd9 /include | |
parent | c4fdd56accaa897dc49b23872ec98203aa49c71f (diff) |
Adding LuaTask class.
Diffstat (limited to 'include')
-rw-r--r-- | include/LuaTask.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/LuaTask.h b/include/LuaTask.h new file mode 100644 index 0000000..48f65bf --- /dev/null +++ b/include/LuaTask.h @@ -0,0 +1,26 @@ +#ifndef __LUATASK_H__ +#define __LUATASK_H__ + +#include <Task.h> +#include <Buffer.h> +#include <BLua.h> + +class LuaTask : public Task { + public: + LuaTask(Lua *, const String &); + virtual ~LuaTask(); + virtual String GetName(); + protected: + virtual int Do() throw (GeneralException); + private: + Lua * L; + String cmd; + Task * c; + Buffer * b; + + String task; + + static LuaTask * top; +}; + +#endif |