/[projects]/smsdaemon/main.cpp
ViewVC logotype

Diff of /smsdaemon/main.cpp

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

revision 146 by torben, Sun Dec 7 20:06:12 2008 UTC revision 149 by torben, Sun Dec 7 20:58:41 2008 UTC
# Line 4  Line 4 
4  #include "daemon.h"  #include "daemon.h"
5  #include "common.h"  #include "common.h"
6    
7  #include "GsmModem.h"  #include "ModemTransceiver.h"
8  #include "serialport/SerialPort.h"  #include "serialport/SerialPort.h"
9  #include "SmsDaemon.h"  #include "SmsDaemon.h"
10  #include "ConfigFile.h"  #include "ConfigFile.h"
# Line 70  int main(int argc, char* argv[]) Line 70  int main(int argc, char* argv[])
70                  sms_exit(1);                  sms_exit(1);
71          }          }
72    
73          GsmModem modem(port);          ModemTransceiver modem(port);
74    
75          try          try
76          {          {
# Line 78  int main(int argc, char* argv[]) Line 78  int main(int argc, char* argv[])
78          }          }
79          catch (std::exception& e)          catch (std::exception& e)
80          {          {
81                  cmn->logMessage( string("GsmModem Exception: ") + e.what() );                  cmn->logMessage( string("ModemTransceiver Exception: ") + e.what() );
82                  sms_exit(2);                  sms_exit(2);
83          }          }
84    

Legend:
Removed from v.146  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.20