/[projects]/smsdaemon/Task.cpp
ViewVC logotype

Contents of /smsdaemon/Task.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 207 - (show annotations) (download)
Sun Dec 21 17:42:30 2008 UTC (15 years, 5 months ago) by torben
File size: 290 byte(s)
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