]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/sidstar.cxx
httpd: provide more airport information in geojson
[flightgear.git] / src / Airports / sidstar.cxx
index e19ff192577548b868e48a372f5ce002c12e1eab..af7a020c958de0b769908283f9b7e878c17ab7db 100644 (file)
 #include <simgear/props/props.hxx>
 #include <simgear/props/props_io.hxx>
 
-
-
-#include <Airports/simple.hxx>
-
+#include <AIModel/AIFlightPlan.hxx>
+#include <Airports/airport.hxx>
 
 #include "sidstar.hxx"
 
 using std::cerr;
 using std::endl;
+using std::string;
 
 FGSidStar::FGSidStar(FGAirport *ap) {
      id = ap->getId();
@@ -46,7 +45,6 @@ FGSidStar::FGSidStar(FGAirport *ap) {
 
 FGSidStar::FGSidStar(const FGSidStar &other) {
      cerr << "TODO" << endl;
-     exit(1);
 }
 
 void FGSidStar::load(SGPath filename) {
@@ -119,4 +117,4 @@ FGAIFlightPlan *FGSidStar::getBest(string activeRunway, double heading)
      } else {
         return 0;
     }
-}
\ No newline at end of file
+}