Mercurial > hg > Members > kono > Cerium
annotate include/TaskManager/TaskQueue.h @ 217:897aeb144569
fix
author | gongo@localhost.localdomain |
---|---|
date | Wed, 04 Feb 2009 22:50:42 +0900 |
parents | 5c194c71eca8 |
children | 7075842aa155 |
rev | line source |
---|---|
109 | 1 #ifndef INCLUDED_TASK_QUEUE |
2 #define INCLUDED_TASK_QUEUE | |
3 | |
4 #ifndef INCLUDED_BASE_H_ | |
5 # include "base.h" | |
6 #endif | |
7 | |
8 #ifndef INCLUDED_TASK | |
9 # include "Task.h" | |
10 #endif | |
11 | |
12 #include <stdio.h> | |
13 | |
14 class TaskQueue { | |
15 public: | |
16 TaskQueue(TaskPtr q = NULL); | |
17 | |
18 BASE_NEW_DELETE(TaskQueue); | |
19 | |
20 TaskPtr task; | |
21 class TaskQueue *next; | |
22 | |
23 static TaskQueue* append(TaskQueue* list, TaskQueue* q); | |
24 }; | |
25 | |
26 typedef TaskQueue* TaskQueuePtr; | |
27 | |
28 #endif |