#include <simgear/compiler.h>
-#include <simgear/misc/sg_path.hxx>
+#include <string>
-#include "navlist.hxx"
-#include "fixlist.hxx"
+// forward decls
+class FGTACANList;
+class SGPath;
+class SGPropertyNode;
+class FGRunway;
+namespace flightgear
+{
+
// load and initialize the navigational databases
-bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist,
- FGNavList *dmelist, FGNavList *mkrbeacons,
- FGNavList *tacanlist, FGNavList *carrierlist,
- FGTACANList *channellist );
-
-
+bool navDBInit(const SGPath& path);
+
+bool loadCarrierNav(const SGPath& path);
+
+bool loadTacan(const SGPath& path, 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);
+
+} // of namespace flightgear
+
#endif // _FG_NAVDB_HXX