X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fserial%2Ftestserial.cxx;h=828be05371e981013226c76ede7a4e95f37cb173;hb=a131f442477a11894169933755591674bb7ad5e9;hp=0ad05f09b8f3cb41ba0d2cbf6e3621d9fda98db6;hpb=5173d709e090b953eaf800cbcd1bf897de332a12;p=simgear.git diff --git a/simgear/serial/testserial.cxx b/simgear/serial/testserial.cxx index 0ad05f09..828be053 100644 --- a/simgear/serial/testserial.cxx +++ b/simgear/serial/testserial.cxx @@ -1,15 +1,21 @@ +#include + #include +#include -#include +#include #include "serial.hxx" -main () { - FGSerialPort port; +using std::cout; +using std::endl; + +int main () { + SGSerialPort port; string value; bool result; - fglog().setLogLevels( FG_ALL, FG_INFO ); + sglog().setLogLevels( SG_ALL, SG_INFO ); cout << "start of main" << endl; @@ -27,4 +33,6 @@ main () { cout << "-> " << value << endl; } } + + return 0; }