--- smsdaemon/plugins/TogPlugin.cpp 2008/08/24 17:57:04 109 +++ smsdaemon/plugins/TogPlugin.cpp 2008/12/07 08:58:15 135 @@ -16,6 +16,7 @@ TogPlugin::TogPlugin() : Plugin("tog", "Henter tog info fra bane.dk") { + _stationInfo["ar"] = StationInfo("AR","Århus"); _stationInfo["la"] = StationInfo("LG","Langå"); _stationInfo["ul"] = StationInfo("UP","Ulstrup"); _stationInfo["bj"] = StationInfo("BJ","Bjerringbro"); @@ -50,7 +51,7 @@ os << (*it).first << " - " << (*it).second.name << "\n"; } - return Util::str_latin2gsm(os.str()); + return os.str(); } void TogPlugin::Execute(IGsmModem& modem, SMS& sms) @@ -105,7 +106,7 @@ os << train.note << "\n"; } - modem.SendSms(sms.sender, Util::str_latin2gsm(os.str()), true); + modem.SendSms(sms.sender, os.str(), true);