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