From 2a73201ca81c8b5ac0f1a4d42a0a1ec5973f10c7 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 26 Sep 2002 16:19:06 +0000 Subject: [PATCH] More code shuffling. --- src/Cockpit/Makefile.am | 1 + src/Cockpit/marker_beacon.cxx | 251 ++++++++++++++++++++++++++++++++++ src/Cockpit/marker_beacon.hxx | 84 ++++++++++++ src/Cockpit/radiostack.cxx | 192 ++------------------------ src/Cockpit/radiostack.hxx | 30 +--- 5 files changed, 346 insertions(+), 212 deletions(-) create mode 100644 src/Cockpit/marker_beacon.cxx create mode 100644 src/Cockpit/marker_beacon.hxx diff --git a/src/Cockpit/Makefile.am b/src/Cockpit/Makefile.am index 14463061d..6e0a54c9f 100644 --- a/src/Cockpit/Makefile.am +++ b/src/Cockpit/Makefile.am @@ -10,6 +10,7 @@ libCockpit_a_SOURCES = \ hud_scal.cxx hud_tbi.cxx \ kr_87.cxx kr_87.hxx \ kt_70.cxx kt_70.hxx \ + marker_beacon.cxx marker_beacon.hxx \ navcom.cxx navcom.hxx \ panel.cxx panel.hxx \ panel_io.cxx panel_io.hxx \ diff --git a/src/Cockpit/marker_beacon.cxx b/src/Cockpit/marker_beacon.cxx new file mode 100644 index 000000000..941d1e2b4 --- /dev/null +++ b/src/Cockpit/marker_beacon.cxx @@ -0,0 +1,251 @@ +// marker_beacon.cxx -- class to manage the marker beacons +// +// Written by Curtis Olson, started April 2000. +// +// Copyright (C) 2000 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