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

Annotation of /smsdaemon/ProxyPlugin.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: 408 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 __PROXYPLUGIN_H__
2     #define __PROXYPLUGIN_H__
3    
4     #include <string>
5     #include "Plugin.h"
6    
7    
8     class ProxyPlugin : public Plugin
9     {
10     public:
11     ProxyPlugin() : Plugin("","") {}
12    
13     virtual void Execute(ISmsTransceiver& modem, SMS& sms);
14    
15     void SetPlugin(Plugin* pl) {_plugin=pl;}
16    
17     virtual bool IsHelper()
18     {
19     return true;
20     }
21     virtual ~ProxyPlugin() {}
22     private:
23     Plugin* _plugin;
24    
25     };
26    
27    
28     #endif // __PROXYPLUGIN_H__

  ViewVC Help
Powered by ViewVC 1.1.20