]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_serial.hxx
Added a touch of error checking to the screen dump routine, i.e. don't
[simgear.git] / simgear / io / sg_serial.hxx
index ce7a7d4d17e386c1f0959d16e4d1b92b4c849bb7..43cb4433069860f8b5b74b2278cf1374676a377a 100644 (file)
@@ -57,7 +57,7 @@ class SGSerial : public SGIOChannel {
 
 public:
 
-    SGSerial();
+    SGSerial( const string& device_name, const string& baud_rate );
     ~SGSerial();
 
     // open the serial port based on specified direction
@@ -79,9 +79,7 @@ public:
     bool close();
 
     inline string get_device() const { return device; }
-    inline void set_device( const string& d ) { device = d; }
     inline string get_baud() const { return baud; }
-    inline void set_baud( const string& b ) { baud = b; }
 };