diff options
Diffstat (limited to 'include/TaskMan.h')
-rw-r--r-- | include/TaskMan.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/TaskMan.h b/include/TaskMan.h new file mode 100644 index 0000000..fe0d565 --- /dev/null +++ b/include/TaskMan.h @@ -0,0 +1,22 @@ +#ifndef __TASKMAN_H__ +#define __TASKMAN_H__ +#ifdef __cplusplus + +#include <Task,h> +#include <vector.h> + +catch TaskMan : public Base { + public: + TaskMan(); + ~TaskMan(); + int AddTask(const Task &); + void MainLoop(void); + private: + vector<Task> TaskList; + static int Inited; +}; + +#else +#error This only works with a C++ compiler +#endif +#endif |