/[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 63 by torben, Thu Jun 12 12:43:29 2008 UTC revision 90 by torben, Mon Jun 16 10:21:02 2008 UTC
# Line 1  Line 1 
1  #include "TogPlugin.h"  #include "TogPlugin.h"
2  #include "GsmModem.h"  #include "IGsmModem.h"
3    #include "Sms.h"
4    
5  #include "TrainInfo.h"  #include "TrainInfo.h"
6  #include "util.h"  #include "util.h"
# Line 7  Line 8 
8  #include <iostream>  #include <iostream>
9  #include <sstream>  #include <sstream>
10    
11    #include "common.h"
12    
13  using namespace std;  using namespace std;
14    
15    
# Line 84  void TogPlugin::Execute(IGsmModem& modem Line 87  void TogPlugin::Execute(IGsmModem& modem
87          {          {
88                  infos = GetTrainInfo( code , "" );                  infos = GetTrainInfo( code , "" );
89          }          }
90          catch(...)          catch(std::exception& e)
91          {          {
92                  modem.SendSms(sms.sender, "Connection timeout", false );                  modem.SendSms(sms.sender, e.what(), false );
93                  return;                  return;
94          }          }
95    

Legend:
Removed from v.63  
changed lines
  Added in v.90

  ViewVC Help
Powered by ViewVC 1.1.20