From: curt Date: Thu, 19 Sep 2002 01:11:07 +0000 (+0000) Subject: Split Nav/Com units out into their own source code file to continue the X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3d2311d884e6917f657058da6ba642048b63a2a5;p=flightgear.git Split Nav/Com units out into their own source code file to continue the process of simplifying radiostack.[ch]xx --- diff --git a/src/Cockpit/Makefile.am b/src/Cockpit/Makefile.am index 5796d2b98..19db9a624 100644 --- a/src/Cockpit/Makefile.am +++ b/src/Cockpit/Makefile.am @@ -9,6 +9,7 @@ libCockpit_a_SOURCES = \ hud_scal.cxx hud_tbi.cxx \ kr_87.cxx kr_87.hxx \ kt_70.cxx kt_70.hxx \ + navcom.cxx navcom.hxx \ panel.cxx panel.hxx \ panel_io.cxx panel_io.hxx \ radiostack.cxx radiostack.hxx \ diff --git a/src/Cockpit/navcom.cxx b/src/Cockpit/navcom.cxx new file mode 100644 index 000000000..aa989de2b --- /dev/null +++ b/src/Cockpit/navcom.cxx @@ -0,0 +1,644 @@ +// navcom.cxx -- class to manage a navcom instance +// +// Written by Curtis Olson, started April 2000. +// +// Copyright (C) 2000 - 2002 Curtis L. Olson - curt@flightgear.org +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. +// +// 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. +// +// $Id$ + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include // snprintf + +#include +#include + +#include +#include +#include +#include +#include