]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/fg_serial.hxx
cygwin32 fixes by norman vine.
[flightgear.git] / src / Network / fg_serial.hxx
index ba88881136be9537f6ab87afcf5fcaf0e6735b7b..f95b813d1b990e018f56e6c2c0114f11adc0748f 100644 (file)
@@ -29,7 +29,7 @@
 # error This library requires C++
 #endif
 
-#include "Include/compiler.h"
+#include <simgear/compiler.h>
 
 #include <string>
 
@@ -39,7 +39,7 @@
 // #  include <time.h>
 // #endif
 
-#include <Serial/serial.hxx>
+#include <simgear/serial/serial.hxx>
 
 #include "iochannel.hxx"
 #include "protocol.hxx"
@@ -70,9 +70,12 @@ public:
     // read a line of data, length is max size of input buffer
     int readline( char *buf, int length );
 
-    // write data to a file
+    // write data to port
     int write( char *buf, int length );
 
+    // write null terminated string to port
+    int writestring( char *str );
+
     // close port
     bool close();