--- smsdaemon/plugins/EchoPlugin.cpp 2008/06/11 08:25:34 44 +++ smsdaemon/plugins/EchoPlugin.cpp 2008/12/07 20:58:41 149 @@ -1,12 +1,13 @@ #include "EchoPlugin.h" -#include "GsmModem.h" +#include "ISmsTransceiver.h" +#include "Sms.h" EchoPlugin::EchoPlugin() : Plugin("echo", "Echoes all extra text back to the sender") { } -void EchoPlugin::Execute(IGsmModem& modem, SMS& sms) +void EchoPlugin::Execute(ISmsTransceiver& modem, SMS& sms) { - modem.SendSms(sms.sender, GetSmsData(sms) ); + modem.SendSms(sms.GetSender(), sms.ExtractParameters(), false ); }