X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fserial%2Ftestserial.cxx;h=bc6b9c6a534d12675a61c46375a80ebb60a1f902;hb=18703ce02d64e0d696404e1a441ec9ce1e9a673a;hp=faab267861ec1c0eaac745bd472164cad333a5ca;hpb=cb03bfcb80de5112189a1a496bcd410919923fab;p=simgear.git diff --git a/simgear/serial/testserial.cxx b/simgear/serial/testserial.cxx index faab2678..bc6b9c6a 100644 --- a/simgear/serial/testserial.cxx +++ b/simgear/serial/testserial.cxx @@ -1,15 +1,21 @@ -#include +#include + +#include STL_STRING +#include STL_IOSTREAM #include #include "serial.hxx" +SG_USING_STD(cout); +SG_USING_STD(endl); + int main () { - FGSerialPort port; + SGSerialPort port; string value; bool result; - fglog().setLogLevels( FG_ALL, FG_INFO ); + sglog().setLogLevels( SG_ALL, SG_INFO ); cout << "start of main" << endl;