Parent Directory | Revision Log
Loaded tasks should also be configurable
1 | #include "Task.h" |
2 | |
3 | #include "Common.h" |
4 | #include "TaskManager.h" |
5 | |
6 | Task::Task(std::string name, bool isTemporary) |
7 | : _isFinished(false), _name(name), _isTemporary(isTemporary) |
8 | { |
9 | if (isTemporary) |
10 | { |
11 | Common* cmn = Common::instance(); |
12 | cmn->GetTaskManager()->AddTemporaryTask(this); |
13 | } |
14 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |