summaryrefslogtreecommitdiff
path: root/include/TaskMan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/TaskMan.h')
-rw-r--r--include/TaskMan.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/TaskMan.h b/include/TaskMan.h
index 2025e5c..e1c59d0 100644
--- a/include/TaskMan.h
+++ b/include/TaskMan.h
@@ -8,12 +8,13 @@
class TaskMan : public Base {
public:
static int AddTask(Task *);
- static int RemoveTask(Task *);
static void Init() throw (GeneralException);
static void MainLoop() throw (GeneralException);
private:
- static vector<Task *> TaskList;
+ typedef vector<Task *> TaskList_t;
+ static TaskList_t TaskList;
+ static TaskList_t Zombies;
static int number;
static bool inited;
};