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" |
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 |