#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