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

Diff of /smsdaemon/main.cpp

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

revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC revision 211 by torben, Sun Dec 21 22:08:20 2008 UTC
# Line 9  Line 9 
9  #include "ModemTransceiver.h"  #include "ModemTransceiver.h"
10  #include "DebugTransceiver.h"  #include "DebugTransceiver.h"
11  #include "SmsToolTransceiver.h"  #include "SmsToolTransceiver.h"
12    #include "ProxyTransceiver.h"
13    
14  #include "serialport/SerialPort.h"  #include "serialport/SerialPort.h"
15  #include "SmsDaemon.h"  #include "SmsDaemon.h"
# Line 135  int main(int argc, char* argv[]) Line 136  int main(int argc, char* argv[])
136                  transceiver = new DebugTransceiver();                  transceiver = new DebugTransceiver();
137          }          }
138    
139            ProxyTransceiver proxy(*transceiver);
140    
141          //////////////////////////////////          //////////////////////////////////
142    
143          SmsDaemon daemon(*transceiver);          SmsDaemon daemon(proxy);
144    
145          daemon.Start();          daemon.Start();
146          //returns here when main-loop exits          //returns here when main-loop exits

Legend:
Removed from v.196  
changed lines
  Added in v.211

  ViewVC Help
Powered by ViewVC 1.1.20