]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/iochannel.cxx
Bernie Bright:
[simgear.git] / simgear / io / iochannel.cxx
index ab83fc09711971e530b1891ab23e4e29bb6aba5a..4d0348957229bfa7dce5bc856b91e08c5af32608 100644 (file)
@@ -22,8 +22,6 @@
 
 
 #include "iochannel.hxx"
-// #include "garmin.hxx"
-// #include "nmea.hxx"
 
 
 // constructor
@@ -39,7 +37,7 @@ SGIOChannel::~SGIOChannel()
 
 
 // dummy configure routine
-bool SGIOChannel::open( SGProtocolDir dir ) {
+bool SGIOChannel::open( const SGProtocolDir d ) {
     return false;
 }
 
@@ -57,13 +55,13 @@ int SGIOChannel::readline( char *buf, int length ) {
 
 
 // dummy process routine
-int SGIOChannel::write( char *buf, int length ) {
+int SGIOChannel::write( const char *buf, const int length ) {
     return false;
 }
 
 
 // dummy process routine
-int SGIOChannel::writestring( char *str ) {
+int SGIOChannel::writestring( const char *str ) {
     return false;
 }