summaryrefslogtreecommitdiff
path: root/lib/Task.cc
blob: 79c39e1ff2bda2c8c079153c9e10cb0bfaf78c3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Task.h"

Task::Task() {}
Task::~Task() {}

int Task::Do() {
    return TASK_ON_HOLD;
}

int Task::Run() {
    return (state = Do());
}

int Task::GetState() {
    return state;
}