#include "EchoPlugin.h" #include "ISmsTransceiver.h" #include "Sms.h" EchoPlugin::EchoPlugin() : Plugin("echo", "Echoes all extra text back to the sender") { } void EchoPlugin::Execute(ISmsTransceiver& modem, SMS& sms) { modem.SendSms(sms.GetSender(), sms.ExtractParameters(), false ); }