]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navdb.hxx
fix trx and rx heights and improve calculations
[flightgear.git] / src / Navaids / navdb.hxx
index 959d810030869dd352851411504a7ec14d0c29c3..a4aa9be1b77c8ab990a046b0ef74f5540e8f2fdb 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started May 2004.
 //
-// Copyright (C) 2004  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2004  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -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$
 
 
 
 #include <simgear/compiler.h>
-#include <simgear/misc/sg_path.hxx>
-
-// #include <map>
-// #include <vector>
-// #include STL_STRING
-
-#include "navlist.hxx"
-#include "ilslist.hxx"
-#include "mkrbeacons.hxx"
-#include "fixlist.hxx"
-
-// SG_USING_STD(map);
-// SG_USING_STD(vector);
-// SG_USING_STD(string);
 
+class FGNavList;
+class FGTACANList;
 
 // load and initialize the navigational databases
 bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist,
-                  FGNavList *dmelist, FGNavList *mkrbeacons );
-
+                  FGNavList *dmelist,
+                  FGNavList *tacanlist, FGNavList *carrierlist,
+                  FGTACANList *channellist );
+
+
+/**
+ * Return the property node corresponding to the runway ILS installation,
+ * from the Airports/I/C/A/ICAO.ils.xml file (loading it if necessary)
+ * returns NULL is no ILS data is defined for the runway.
+ */
+SGPropertyNode* ilsDataForRunwayAndNavaid(FGRunway* aRunway, const std::string& aNavIdent);
+
+/**
+ * Helper to map a nav.data name (eg 'KBWI 33R GS') into a FGRunway reference.
+ * returns NULL, and complains loudly, if the airport/runway is not found.
+ */
+FGRunway* getRunwayFromName(const std::string& aName);
 
 #endif // _FG_NAVDB_HXX