summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-10-29 15:44:12 +0000
committerPixel <Pixel>2001-10-29 15:44:12 +0000
commit2e5bed84841f33ff28dd95b77b555720c875a286 (patch)
treede6cbcbf5fa65e90e1888d52a9426373a1638c61 /lib/Task.cc
parent0a6190d0269392e875a479df01b152d47ea4143c (diff)
Beginning task manager
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index e69de29..79c39e1 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -0,0 +1,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;
+}