--- smsdaemon/plugins/EchoPlugin.cpp 2008/06/09 20:56:03 28 +++ smsdaemon/plugins/EchoPlugin.cpp 2008/06/16 10:21:02 90 @@ -1,12 +1,13 @@ #include "EchoPlugin.h" -#include "GsmModem.h" +#include "IGsmModem.h" +#include "Sms.h" EchoPlugin::EchoPlugin() : Plugin("echo", "Echoes all extra text back to the sender") { } -void EchoPlugin::Execute(GsmModem& modem, SMS& sms) +void EchoPlugin::Execute(IGsmModem& modem, SMS& sms) { - modem.SendSms(sms.sender, GetSmsData(sms) ); + modem.SendSms(sms.sender, GetSmsData(sms), false ); }