]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/sidstar.hxx
NewAtis: handle varying winds
[flightgear.git] / src / Airports / sidstar.hxx
index ef388e49bb24bcffd3ffafd0484f5a8c747666f7..c7e8f93d3ac8a242b1450247696051bc3c6bdc9a 100644 (file)
 #ifndef _SIDSTAR_HXX_
 #define _SIDSTAR_HXX_
 
-#include <string>
+#include "airports_fwd.hxx"
+#include <ATC/trafficcontrol.hxx>
 
 #include <simgear/misc/sg_path.hxx>
-
 #include <simgear/xml/easyxml.hxx>
 
-#include <ATC/trafficcontrol.hxx>
-#include <AIModel/AIFlightPlan.hxx>
-#include "parking.hxx"
-#include "groundnetwork.hxx"
-#include "runwayprefs.hxx"
-
-
-using std::string;
-
-class FGAirport;
-
-typedef vector<FGAIFlightPlan*>           FlightPlanVec;
-typedef vector<FGAIFlightPlan*>::iterator FlightPlanVecIterator;
-
-typedef std::map < std::string, FlightPlanVec > FlightPlanVecMap;
-
-
-class FGSidStar 
+class FGSidStar
 {
    private:
-      string id;
+      std::string id;
       bool initialized;
       FlightPlanVecMap data;
 
@@ -57,11 +40,9 @@ class FGSidStar
       FGSidStar(FGAirport *ap);
       FGSidStar(const FGSidStar &other);
 
-      string getId() { return id; };
+      std::string getId() { return id; };
       void load(SGPath path);
-      FGAIFlightPlan *getBest(string activeRunway, double heading);
+      FGAIFlightPlan *getBest(std::string activeRunway, double heading);
 };
 
-
-
-#endif
\ No newline at end of file
+#endif