#ifndef __TASKMAN_H__ #define __TASKMAN_H__ #ifdef __cplusplus #include #include class TaskMan : public Base { public: TaskMan() throw (GeneralException); ~TaskMan(); int AddTask(Task *); void MainLoop(); private: vector TaskList; static bool Inited; }; #else #error This only works with a C++ compiler #endif #endif