]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navdb.hxx
Fix turn entry path position computation.
[flightgear.git] / src / Navaids / navdb.hxx
index 5c2aa117ce252120bb2a4208df3d14de07090a8a..0036a402f93f2db57b71151acb0ba4259248eb23 100644 (file)
 
 
 #include <simgear/compiler.h>
+#include <string>
 
-class FGNavList;
+// 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 *tacanlist, FGNavList *carrierlist,
-                  FGTACANList *channellist );
-
-
-/**
- * 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);
-
+bool navDBInit(const SGPath& path);
+  
+bool loadCarrierNav(const SGPath& path);
+  
+bool loadTacan(const SGPath& path, FGTACANList *channellist);
+
+} // of namespace flightgear
+  
 #endif // _FG_NAVDB_HXX