X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2Fiochannel.hxx;h=5830f6e2af29c8a595fa5fa751ac4166ad9b2bef;hb=7a16ec4fb4e1663902f5022812291f01d7e37ee3;hp=ee125b2d8bb31f11c766394ca929e00539994f7c;hpb=1fd92702678bcf4a32f888fe3014c684e0235870;p=flightgear.git diff --git a/src/Network/iochannel.hxx b/src/Network/iochannel.hxx index ee125b2d8..5830f6e2a 100644 --- a/src/Network/iochannel.hxx +++ b/src/Network/iochannel.hxx @@ -25,7 +25,7 @@ #define _IOCHANNEL_HXX -#include "Include/compiler.h" +#include #include "protocol.hxx" @@ -48,8 +48,10 @@ public: virtual ~FGIOChannel(); virtual bool open( FGProtocol::fgProtocolDir dir ); - virtual bool read( char *buf, int *length ); - virtual bool write( char *buf, int length ); + virtual int read( char *buf, int length ); + virtual int readline( char *buf, int length ); + virtual int write( char *buf, int length ); + virtual int writestring( char *str ); virtual bool close(); };