/[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 44 by torben, Wed Jun 11 08:25:34 2008 UTC revision 90 by torben, Mon Jun 16 10:21:02 2008 UTC
# Line 1  Line 1 
1  #include "EchoPlugin.h"  #include "EchoPlugin.h"
2  #include "GsmModem.h"  #include "IGsmModem.h"
3    #include "Sms.h"
4    
5  EchoPlugin::EchoPlugin()  EchoPlugin::EchoPlugin()
6    : Plugin("echo", "Echoes all extra text back to the sender")    : Plugin("echo", "Echoes all extra text back to the sender")
# Line 8  EchoPlugin::EchoPlugin() Line 9  EchoPlugin::EchoPlugin()
9    
10  void EchoPlugin::Execute(IGsmModem& modem, SMS& sms)  void EchoPlugin::Execute(IGsmModem& modem, SMS& sms)
11  {  {
12          modem.SendSms(sms.sender, GetSmsData(sms) );          modem.SendSms(sms.sender, GetSmsData(sms), false );
13  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.20