Parent Directory | Revision Log
Solved ToDo item: '- Create a filtering method: - Incoming: which phonenumbers are allowed to invoke which plugins - Incoming could be solved with a PluginProxy() which intercepts the ExecutePlugin calls (only PluginManager needs to know about this one)' Move the Access related items to AccessManager.*
1 | torben | 217 | #ifndef __ACCESSMANAGER_H__ |
2 | #define __ACCESSMANAGER_H__ | ||
3 | |||
4 | #include <string> | ||
5 | |||
6 | |||
7 | namespace AccessManager | ||
8 | { | ||
9 | void Load(); //load blacklist & privileged | ||
10 | |||
11 | bool IsBlacklisted(const std::string& phone); | ||
12 | bool IsPrivileged(const std::string& phone); | ||
13 | |||
14 | bool IsPrivPlugin(const std::string& pluginname); | ||
15 | void AddPrivPlugin(const std::string& pluginname); | ||
16 | } | ||
17 | |||
18 | |||
19 | #endif // __ACCESSMANAGER_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |