--- smsdaemon/plugins/StatusPlugin.cpp 2008/06/17 06:29:19 102 +++ smsdaemon/plugins/StatusPlugin.cpp 2008/12/18 06:53:29 196 @@ -1,19 +1,19 @@ #include "StatusPlugin.h" -#include "IGsmModem.h" +#include "ISmsTransceiver.h" #include "Sms.h" #include #include "version.h" -#include "common.h" +#include "Common.h" StatusPlugin::StatusPlugin() - : Plugin("status", "Returns a status of the smsdaemon") + : Plugin("status", "Returns a status of the smsdaemon") { } -void StatusPlugin::Execute(IGsmModem& modem, SMS& sms) +void StatusPlugin::Execute(ISmsTransceiver& modem, SMS& sms) { Common* cmn = Common::instance(); @@ -34,6 +34,6 @@ os << "Uptime: " << days << "d, " << hour << ":" << min << ":" << sec; - modem.SendSms(sms.sender, os.str(), true ); + modem.SendSms(sms.GetSender(), os.str(), true ); }