Parent Directory | Revision Log
Added first basic edition of smsdaemon. So far sending & receiving sms works and a basic sample plugin is implemented.
1 | torben | 26 | #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 |