summaryrefslogtreecommitdiff
path: root/include/Task.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Task.h')
-rw-r--r--include/Task.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/Task.h b/include/Task.h
index 12e3bff..c67a59c 100644
--- a/include/Task.h
+++ b/include/Task.h
@@ -4,19 +4,21 @@
#include "Exceptions.h"
-#define TASK_ON_HOLD 0
-#define TASK_DONE 1
-#define TASK_WAITING_HANDLE 2
-#define TASK_WAITING_TIMEOUT 3
+#define TASK_ON_HOLD 1
+#define TASK_DONE 2
+#define TASK_WAITING_HANDLE 4
+#define TASK_WAITING_TIMEOUT 8
+#define TASK_WAITING_TASK 16
class Task : public Base {
public:
Task();
virtual ~Task();
- virtual int Do();
+ virtual String GetName();
int Run();
int GetState();
protected:
+ virtual int Do();
private:
int state;