Mercurial > hg > Game > Cerium
view include/TaskManager/TaskListInfo.h @ 332:5950b6ff7fec draft
change bin/cerium
author | aaa |
---|---|
date | Fri, 12 Jun 2009 17:03:18 +0900 |
parents | 3fc86ddf5d1c |
children |
line wrap: on
line source
#ifndef INCLUDED_TASK_LIST_INFO #define INCLUDED_TASK_LIST_INFO #include "types.h" #include "TaskList.h" class TaskListInfo { public: /* constructor */ TaskListInfo(void); virtual ~TaskListInfo(void); /* functions */ int init(int num); TaskListPtr create(void); void free(TaskListPtr list); static TaskListPtr append(TaskListPtr list, TaskListPtr q); virtual int extend_pool(int num); protected: /* variables */ TaskListPtr taskListPool; TaskListPtr freeTaskList; /* functions */ void destroy(void); private: }; #endif