/[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 27 by torben, Mon Jun 9 18:15:53 2008 UTC revision 28 by torben, Mon Jun 9 20:56:03 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(GsmModem& modem, SMS& sms);
14    
         virtual std::string GetCommand() {return "echo";}  
   
         virtual std::string GetDescription() {return "Echoes all extra text back to the sender";}  
   
15          virtual ~EchoPlugin() {}          virtual ~EchoPlugin() {}
16    
17  };  };

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.20