]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runwayprefs.hxx
Update FGRunway to process information from threshold.xml files.
[flightgear.git] / src / Airports / runwayprefs.hxx
index 9b0c7485f3a8a3f37e438e7766a4b8be407115b4..c9ac72709c82e4e0c0e00c8ead197a5ac155bebf 100644 (file)
@@ -30,8 +30,8 @@
 
 #include <simgear/compiler.h>
 
-SG_USING_STD(vector);
-SG_USING_STD(string);
+using std::vector;
+using std::string;
 
 typedef vector<time_t> timeVec;
 typedef vector<time_t>::const_iterator timeVecConstIterator;
@@ -112,7 +112,7 @@ public:
 
   void setName(const string& nm) { name = nm;                };
   void add(const RunwayList& list) { rwyList.push_back(list);};
-  void setActive(const string& aptId, double windSpeed, double windHeading, double maxTail, double maxCross, stringVec *curr);
+  void setActive(const FGAirport* airport, double windSpeed, double windHeading, double maxTail, double maxCross, stringVec *curr);
 
   int getNrActiveRunways() { return nrActive;};
   void getActive(int i, string& name, string& type);