#ifndef __LUATASK_H__ #define __LUATASK_H__ #include #include #include class LuaTask : public Task { public: LuaTask(Lua *, const String &); LuaTask(Lua *, int); virtual ~LuaTask(); virtual String GetName(); protected: virtual int Do() throw (GeneralException); private: Lua * L; String cmd; int nargs, stacktop; Task * c; Buffer * b; String task; static LuaTask * top; }; #endif