From: curt Date: Thu, 26 Sep 2002 15:34:00 +0000 (+0000) Subject: Shuffling/reorganizing code. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eaf495444148a3338456dda8c61366b193f9d48e;p=flightgear.git Shuffling/reorganizing code. --- diff --git a/src/Cockpit/Makefile.am b/src/Cockpit/Makefile.am index 19db9a624..14463061d 100644 --- a/src/Cockpit/Makefile.am +++ b/src/Cockpit/Makefile.am @@ -2,6 +2,7 @@ noinst_LIBRARIES = libCockpit.a libCockpit_a_SOURCES = \ cockpit.cxx cockpit.hxx \ + dme.cxx dme.hxx \ hud.cxx hud.hxx hud_opts.hxx \ hud_card.cxx hud_dnst.cxx hud_gaug.cxx hud_inst.cxx \ hud_labl.cxx hud_ladr.cxx \ diff --git a/src/Cockpit/dme.cxx b/src/Cockpit/dme.cxx new file mode 100644 index 000000000..b6e5fbe41 --- /dev/null +++ b/src/Cockpit/dme.cxx @@ -0,0 +1,253 @@ +// dme.cxx -- class to manage an instance of the DME +// +// 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 +#include +#include