X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNavaids%2Filslist.hxx;h=8d13a58798b090fe1613f6f5981a4afde0f67229;hb=ee98995d30e75cda88c9866f3cb6a761fda7d078;hp=577a231240d299815d08a42cd97e2b9200bfc8fc;hpb=abc61895ed79ab5cc74972641a3484f1dcbea0a8;p=flightgear.git diff --git a/src/Navaids/ilslist.hxx b/src/Navaids/ilslist.hxx index 577a23124..8d13a5879 100644 --- a/src/Navaids/ilslist.hxx +++ b/src/Navaids/ilslist.hxx @@ -26,15 +26,15 @@ #include -#include +#include #include #include #include "ils.hxx" -FG_USING_STD(map); -FG_USING_STD(vector); +SG_USING_STD(map); +SG_USING_STD(vector); class FGILSList { @@ -44,7 +44,8 @@ class FGILSList { typedef ils_list_type::iterator ils_list_iterator; typedef ils_list_type::const_iterator ils_list_const_iterator; - typedef map < int, ils_list_type, less > ils_map_type; + // typedef map < int, ils_list_type, less > ils_map_type; + typedef map < int, ils_list_type > ils_map_type; typedef ils_map_type::iterator ils_map_iterator; typedef ils_map_type::const_iterator ils_map_const_iterator; @@ -56,13 +57,15 @@ public: ~FGILSList(); // load the navaids and build the map - bool init( FGPath path ); + bool init( SGPath path ); // query the database for the specified frequency, lon and lat are // in degrees, elev is in meters - bool query( double lon, double lat, double elev, double freq, - FGILS *i, double *heading, double *dist); + bool query( double lon, double lat, double elev, double freq, FGILS *i ); }; +extern FGILSList *current_ilslist; + + #endif // _FG_ILSLIST_HXX