#include <Task.h> enum TaskState { TASK_IDLE, TASK_STARTING, TASK_RUNNING, TASK_CANCELLING, TASK_FINISHED, };