/[projects]/smsdaemon/plugins/EchoPlugin.h
ViewVC logotype

Diff of /smsdaemon/plugins/EchoPlugin.h

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

revision 26 by torben, Mon Jun 9 18:15:53 2008 UTC revision 44 by torben, Wed Jun 11 08:25:34 2008 UTC
# Line 1  Line 1 
1  #ifndef __ECHOPLUGIN_H__  #ifndef __ECHOPLUGIN_H__
2  #define __ECHOPLUGIN_H__  #define __ECHOPLUGIN_H__
3    
 #include <string>  
   
4    
5  #include "Plugin.h"  #include "Plugin.h"
6    
# Line 10  Line 8 
8  class EchoPlugin : public Plugin  class EchoPlugin : public Plugin
9  {  {
10  public:  public:
11            EchoPlugin();
12    
13          virtual void Execute(GsmModem& modem, SMS& sms);          virtual void Execute(IGsmModem& modem, SMS& sms);
   
         virtual std::string GetCommand() {return "echo";}  
   
         virtual std::string GetDescription() {return "Echoes all extra text back to the sender";}  
14    
15          virtual ~EchoPlugin() {}          virtual ~EchoPlugin() {}
16    

Legend:
Removed from v.26  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.20