Parent Directory | Revision Log
Added first basic edition of smsdaemon. So far sending & receiving sms works and a basic sample plugin is implemented.
1 | #ifndef __PLUGINMANAGER_H__ |
2 | #define __PLUGINMANAGER_H__ |
3 | |
4 | #include <string> |
5 | #include <map> |
6 | #include <vector> |
7 | |
8 | #include "Plugin.h" |
9 | |
10 | class PluginManager |
11 | { |
12 | public: |
13 | PluginManager(); |
14 | ~PluginManager(); |
15 | |
16 | void LoadPlugins(); |
17 | |
18 | Plugin* GetPlugin(const std::string& pluginname); |
19 | |
20 | std::vector<Plugin*> GetPluginList(); |
21 | |
22 | private: |
23 | std::map<std::string, Plugin*> _plugins; |
24 | }; |
25 | |
26 | #endif //__PLUGINMANAGER_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |