--- smsdaemon/plugins/HostStatusPlugin.cpp 2008/12/07 11:13:38 138 +++ smsdaemon/plugins/HostStatusPlugin.cpp 2008/12/07 20:58:41 149 @@ -1,5 +1,5 @@ #include "HostStatusPlugin.h" -#include "IGsmModem.h" +#include "ISmsTransceiver.h" #include "Sms.h" #include "util.h" @@ -11,7 +11,7 @@ { } -void HostStatusPlugin::Execute(IGsmModem& modem, SMS& sms) +void HostStatusPlugin::Execute(ISmsTransceiver& modem, SMS& sms) { string message; string out; @@ -25,6 +25,6 @@ Util::my_system("df -h | grep dev | awk '{ print $6 \" \" $5}'", &out); message += out; - modem.SendSms(sms.sender, message, true); + modem.SendSms(sms.GetSender(), message, true); }