/[projects]/smsdaemon/plugins/TogPlugin.cpp
ViewVC logotype

Diff of /smsdaemon/plugins/TogPlugin.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 108 by torben, Mon Jun 16 10:21:02 2008 UTC revision 109 by torben, Sun Aug 24 17:57:04 2008 UTC
# Line 20  TogPlugin::TogPlugin() Line 20  TogPlugin::TogPlugin()
20          _stationInfo["ul"] = StationInfo("UP","Ulstrup");          _stationInfo["ul"] = StationInfo("UP","Ulstrup");
21          _stationInfo["bj"] = StationInfo("BJ","Bjerringbro");          _stationInfo["bj"] = StationInfo("BJ","Bjerringbro");
22          _stationInfo["vi"] = StationInfo("VG","Viborg");          _stationInfo["vi"] = StationInfo("VG","Viborg");
23          _stationInfo["hø"] = StationInfo("HØ","Højslev");          _stationInfo["ho"] = StationInfo("HØ","Højslev");
24          _stationInfo["sk"] = StationInfo("SK","Skive");          _stationInfo["sk"] = StationInfo("SK","Skive");
25  }  }
26    
# Line 60  void TogPlugin::Execute(IGsmModem& modem Line 60  void TogPlugin::Execute(IGsmModem& modem
60          data = Util::str_gsm2latin(data);;          data = Util::str_gsm2latin(data);;
61          data = Util::str_tolower(data);          data = Util::str_tolower(data);
62    
63            
64          if (data == "")          if (data == "")
65          {          {
66                  modem.SendSms(sms.sender, "Usage: tog <stationskode>\ntog list - liste over stationer", false);                  modem.SendSms(sms.sender, "Usage: tog <stationskode>\ntog list - liste over stationer", false);

Legend:
Removed from v.108  
changed lines
  Added in v.109

  ViewVC Help
Powered by ViewVC 1.1.20