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

Diff of /smsdaemon/Plugin.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by torben, Mon Jun 9 21:56:47 2008 UTC revision 54 by torben, Wed Jun 11 12:57:26 2008 UTC
# Line 7  Line 7 
7   * Abstract parent class for a sms-daemon plugin.   * Abstract parent class for a sms-daemon plugin.
8   */   */
9    
 #include "Sms.h"  
10    
11  class GsmModem;  class IGsmModem;
12    class SMS;
13    
14  class Plugin  class Plugin
15  {  {
# Line 21  public: Line 21  public:
21           * Note: the plugin is responsible for parsing and validating the arguments,           * Note: the plugin is responsible for parsing and validating the arguments,
22           * and if necessary write a error message back to the user.           * and if necessary write a error message back to the user.
23           */           */
24          virtual void Execute(GsmModem& modem, SMS& sms) = 0;          virtual void Execute(IGsmModem& modem, SMS& sms) = 0;
25    
26          /*          /*
27           * returns the command that triggers this plugin, for example:  "myplugin"           * returns the command that triggers this plugin, for example:  "myplugin"

Legend:
Removed from v.30  
changed lines
  Added in v.54

  ViewVC Help
Powered by ViewVC 1.1.20