#ifndef TASKMANAGE #define TASKMANAGE #include "../DB/LDBTool.h" template class TaskManage { public: TaskManage(LDBTool *dbTool) : db_c(dbTool) { } ~TaskManage() { } virtual TASKTYPE getTask() = 0; virtual bool finishTask(const FINSHTYPE finishInfo) = 0; private: virtual void init(void) = 0; protected: LDBTool *db_c; }; #endif // TASKMANAGE