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

Diff of /smsdaemon/plugins/EchoPlugin.cpp

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

revision 26 by torben, Mon Jun 9 18:15:53 2008 UTC revision 63 by torben, Thu Jun 12 12:43:29 2008 UTC
# Line 1  Line 1 
1  #include "EchoPlugin.h"  #include "EchoPlugin.h"
2  #include "GsmModem.h"  #include "GsmModem.h"
3    
4    EchoPlugin::EchoPlugin()
5      : Plugin("echo", "Echoes all extra text back to the sender")
6    {
7    }
8    
9  void EchoPlugin::Execute(GsmModem& modem, SMS& sms)  void EchoPlugin::Execute(IGsmModem& modem, SMS& sms)
10  {  {
11          modem.SendSms(sms.sender, GetSmsData(sms) );          modem.SendSms(sms.sender, GetSmsData(sms), false );
12  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.20