/[projects]/smsdaemon/TaskManager.h
ViewVC logotype

Contents of /smsdaemon/TaskManager.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26 - (show annotations) (download)
Mon Jun 9 18:15:53 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 382 byte(s)
Added first basic edition of smsdaemon.

So far sending & receiving sms works and a basic sample plugin is implemented.

1 #ifndef __MANAGER_H__
2 #define __MANAGER_H__
3
4 #include <string>
5 #include <map>
6 #include <vector>
7
8 #include "Task.h"
9
10 class TaskManager
11 {
12 public:
13 TaskManager();
14 ~TaskManager();
15
16 void ExecuteTasks();
17
18 void LoadTasks();
19
20 Task* GetTask(const std::string& taskname);
21
22 std::vector<Task*> GetTaskList();
23
24 private:
25 std::map<std::string, Task*> _tasks;
26 };
27
28 #endif //__MANAGER_H__

  ViewVC Help
Powered by ViewVC 1.1.20