]> git.mxchange.org Git - flightgear.git/commitdiff
Make serviceable property writable.
authordavid <david>
Sun, 26 Jan 2003 20:20:15 +0000 (20:20 +0000)
committerdavid <david>
Sun, 26 Jan 2003 20:20:15 +0000 (20:20 +0000)
src/Instrumentation/attitude_indicator.cxx
src/Instrumentation/heading_indicator.cxx
src/Instrumentation/turn_indicator.cxx

index 02a249e4c3a6991fa8a3b4e06d032a6489653c6e..cb0c5aa4fb5e3ac074e43e5c93b2cdc73ac27e6d 100644 (file)
@@ -39,7 +39,7 @@ void
 AttitudeIndicator::bind ()
 {
     fgTie("/instrumentation/attitude-indicator/serviceable",
-          &_gyro, &Gyro::is_serviceable);
+          &_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
     fgTie("/instrumentation/attitude-indicator/spin",
           &_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
 }
index 66fdd833c70c461d833941cc0ad728e58cb0d70e..8f323366adcd3e32e7bf2834f426b54345f3a620 100644 (file)
@@ -34,7 +34,7 @@ void
 HeadingIndicator::bind ()
 {
     fgTie("/instrumentation/heading-indicator/serviceable",
-          &_gyro, &Gyro::is_serviceable);
+          &_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
     fgTie("/instrumentation/heading-indicator/spin",
           &_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
 }
index d2bd957c32ecdb612efea112e96437bccabb7f49..7e56b5b346a8ed49098ff5f603a8c44ff32dde8b 100644 (file)
@@ -31,7 +31,7 @@ void
 TurnIndicator::bind ()
 {
     fgTie("/instrumentation/turn-indicator/serviceable",
-          &_gyro, &Gyro::is_serviceable);
+          &_gyro, &Gyro::is_serviceable, &Gyro::set_serviceable);
     fgTie("/instrumentation/turn-indicator/spin",
           &_gyro, &Gyro::get_spin_norm, &Gyro::set_spin_norm);
 }