diff options
Diffstat (limited to 'include/TaskMan.h')
-rw-r--r-- | include/TaskMan.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/TaskMan.h b/include/TaskMan.h index dc8c913..16bc0ee 100644 --- a/include/TaskMan.h +++ b/include/TaskMan.h @@ -7,14 +7,13 @@ class TaskMan : public Base { public: - TaskMan() throw (GeneralException); - int AddTask(Task *); - int TaskMan::RemoveTask(Task *); - void Init() throw (GeneralException); - void MainLoop() throw (GeneralException); + static int AddTask(Task *); + static int RemoveTask(Task *); + static void Init() throw (GeneralException); + static void MainLoop() throw (GeneralException); private: - vector<Task *> TaskList; - int number; + static vector<Task *> TaskList; + static int number; static bool inited; }; |