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

Annotation of /smsdaemon/AccessManager.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 217 - (hide annotations) (download)
Tue Dec 23 14:20:43 2008 UTC (15 years, 4 months ago) by torben
File MIME type: text/plain
File size: 394 byte(s)
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