diff options
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 |