]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/ATC-Inputs.hxx
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / Network / ATC-Inputs.hxx
index 146d7c858202acba2e97925bae421e8baf9791a6..ff9d4d29f7e7bd1eee2a71fae306c223dbe703e8 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
@@ -44,16 +44,12 @@ class FGATCInput {
     int board;
     SGPath config;
 
-    int lock_fd;
     int analog_in_fd;
     int radios_fd;
     int switches_fd;
 
-    char lock_file[256];
     char analog_in_file[256];
-    char lamps_file[256];
     char radios_file[256];
-    char stepper_file[256];
     char switches_file[256];
 
     unsigned char analog_in_bytes[ATC_ANAL_IN_BYTES];
@@ -61,12 +57,12 @@ class FGATCInput {
     unsigned char radio_switch_data[ATC_RADIO_SWITCH_BYTES];
     unsigned char switch_data[ATC_SWITCH_BYTES];
 
-    SGPropertyNode *ignore_flight_controls;
-    SGPropertyNode *ignore_pedal_controls;
+    SGPropertyNode_ptr ignore_flight_controls;
+    SGPropertyNode_ptr ignore_pedal_controls;
 
-    SGPropertyNode *analog_in_node;
-    SGPropertyNode *radio_in_node;
-    SGPropertyNode *switches_node;
+    SGPropertyNode_ptr analog_in_node;
+    SGPropertyNode_ptr radio_in_node;
+    SGPropertyNode_ptr switches_node;
 
     void init_config();
     bool do_analog_in();