view include/TaskManager/TaskQueue.h @ 217:897aeb144569

fix
author gongo@localhost.localdomain
date Wed, 04 Feb 2009 22:50:42 +0900
parents 5c194c71eca8
children 7075842aa155
line wrap: on
line source

#ifndef INCLUDED_TASK_QUEUE
#define INCLUDED_TASK_QUEUE

#ifndef INCLUDED_BASE_H_
#  include "base.h"
#endif

#ifndef INCLUDED_TASK
#  include "Task.h"
#endif

#include <stdio.h>

class TaskQueue {
public:
    TaskQueue(TaskPtr q = NULL);

    BASE_NEW_DELETE(TaskQueue);

    TaskPtr task;
    class TaskQueue *next;

    static TaskQueue* append(TaskQueue* list, TaskQueue* q);
};

typedef TaskQueue* TaskQueuePtr;

#endif