X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Fnavdb.hxx;h=5c2aa117ce252120bb2a4208df3d14de07090a8a;hb=1d4aaa2f0d84a5278689913563ca742c9d291a73;hp=87e510825b2f228d616e9393edcc558ff0a49cf8;hpb=c6045147544badd6daefdcab9d4de1ed6936533b;p=flightgear.git diff --git a/src/Navaids/navdb.hxx b/src/Navaids/navdb.hxx index 87e510825..5c2aa117c 100644 --- a/src/Navaids/navdb.hxx +++ b/src/Navaids/navdb.hxx @@ -37,4 +37,10 @@ bool fgNavDBInit( FGNavList *navlist, FGNavList *loclist, FGNavList *gslist, 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); + #endif // _FG_NAVDB_HXX