--- smsdaemon/plugins/TogPlugin.cpp 2008/06/15 18:57:00 80 +++ smsdaemon/plugins/TogPlugin.cpp 2008/08/24 17:57:04 109 @@ -1,5 +1,6 @@ #include "TogPlugin.h" -#include "GsmModem.h" +#include "IGsmModem.h" +#include "Sms.h" #include "TrainInfo.h" #include "util.h" @@ -19,7 +20,7 @@ _stationInfo["ul"] = StationInfo("UP","Ulstrup"); _stationInfo["bj"] = StationInfo("BJ","Bjerringbro"); _stationInfo["vi"] = StationInfo("VG","Viborg"); - _stationInfo["hø"] = StationInfo("HØ","Højslev"); + _stationInfo["ho"] = StationInfo("HØ","Højslev"); _stationInfo["sk"] = StationInfo("SK","Skive"); } @@ -59,7 +60,7 @@ data = Util::str_gsm2latin(data);; data = Util::str_tolower(data); - + if (data == "") { modem.SendSms(sms.sender, "Usage: tog \ntog list - liste over stationer", false);