X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FATC-Inputs.hxx;h=ff9d4d29f7e7bd1eee2a71fae306c223dbe703e8;hb=b0dcb657e77579ecc79798ff365737095f96f9e2;hp=146d7c858202acba2e97925bae421e8baf9791a6;hpb=2eeddb8c9f8ec974da57d41f9a6e12200497005f;p=flightgear.git diff --git a/src/Network/ATC-Inputs.hxx b/src/Network/ATC-Inputs.hxx index 146d7c858..ff9d4d29f 100644 --- a/src/Network/ATC-Inputs.hxx +++ b/src/Network/ATC-Inputs.hxx @@ -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();