summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-27 20:16:05 +0000
committerPixel <Pixel>2001-11-27 20:16:05 +0000
commit5212a0752902e64bbd0e24b5c84edb0350e2d3f8 (patch)
treeaf1ea861fbb67d60a04e1fe4d740fd8edc9c8479 /lib/Task.cc
parent76b2e3c19278da49193aa1599a35197b279b4439 (diff)
Last (?) bug of TaskMan.
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index 60a9872..bc7c7a0 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -4,7 +4,7 @@
#include "Task.h"
#include "String.h"
-Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), cleanup(false), suspended(false), wbta(0) {
+Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), suspended(false), wbta(0) {
TaskMan::AddTask(this);
}
@@ -70,14 +70,6 @@ void Task::SetBurst() {
state = TASK_BURST;
}
-void Task::SetCleanUp() {
- cleanup = true;
-}
-
-bool Task::HasToClean() {
- return cleanup;
-}
-
void Task::Stop() {
stopped = true;
}