X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fsidstar.hxx;h=c7e8f93d3ac8a242b1450247696051bc3c6bdc9a;hb=c068049d840c2f4567c7d07e7fb37247d8e23407;hp=ef388e49bb24bcffd3ffafd0484f5a8c747666f7;hpb=70be1629e61d9b751a2f73df30b83bb1be6ca4fe;p=flightgear.git diff --git a/src/Airports/sidstar.hxx b/src/Airports/sidstar.hxx index ef388e49b..c7e8f93d3 100644 --- a/src/Airports/sidstar.hxx +++ b/src/Airports/sidstar.hxx @@ -23,33 +23,16 @@ #ifndef _SIDSTAR_HXX_ #define _SIDSTAR_HXX_ -#include +#include "airports_fwd.hxx" +#include #include - #include -#include -#include -#include "parking.hxx" -#include "groundnetwork.hxx" -#include "runwayprefs.hxx" - - -using std::string; - -class FGAirport; - -typedef vector FlightPlanVec; -typedef vector::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