]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/commlist.hxx
Mathias Fröhlich:
[flightgear.git] / src / ATC / commlist.hxx
index 74ee43a4350c2cbc783bd432d92036b1f429548d..8520b4b2b1fac4aa6b5a6df51a214694eae9472a 100644 (file)
@@ -3,7 +3,7 @@
 // Written by David Luff and Alexander Kappes, started Jan 2003.
 // Based on navlist.hxx by Curtis Olson, started April 2000.
 //
-// Copyright (C) 2000  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 2000  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
@@ -44,6 +44,7 @@
 #include "ATC.hxx"
 #include "atis.hxx"
 
+SG_USING_STD(list);
 SG_USING_STD(map);
 SG_USING_STD(vector);
 SG_USING_STD(string);
@@ -77,9 +78,9 @@ public:
        // The data found is written into the passed-in ATCData structure.
     bool FindByFreq( double lon, double lat, double elev, double freq, ATCData* ad, atc_type tp = INVALID );
        
-    // query the database by location, lon and lat are
-    // in degrees, elev is in meters, range is in nautical miles.
-       // Returns the number of stations of the specified type that are in range, and pushes them into stations
+    // query the database by location, lon and lat are in degrees, elev is in meters, range is in nautical miles.
+       // Returns the number of stations of the specified atc_type tp that are in range of the position defined by 
+       // lon, lat and elev, and pushes them into stations.
        // If no atc_type is specifed, returns the number of all stations in range, and pushes them into stations
        // ** stations is erased before use **
     int FindByPos( double lon, double lat, double elev, double range, comm_list_type* stations, atc_type tp = INVALID );