]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/runways.hxx
Create a real FlightPlan (and Leg) class
[flightgear.git] / src / Airports / runways.hxx
index 2cdc2e495095f0300cba26f02a8a0e5661ceba38..651f1e68ef478bfbee7175d645e365011d09824b 100644 (file)
@@ -36,6 +36,7 @@ class SGPropertyNode;
 namespace flightgear {
   class SID;
   class STAR;
+  class Approach;
 }
 
 class FGRunway : public FGRunwayBase
@@ -115,9 +116,7 @@ public:
   FGRunway* reciprocalRunway() const
   { return _reciprocal; }
   void setReciprocalRunway(FGRunway* other);
-  
-  virtual flightgear::PositionedBinding* createBinding(SGPropertyNode* nd) const;
-  
+    
   /**
    * Helper to process property data loaded from an ICAO.threshold.xml file
    */
@@ -126,12 +125,15 @@ public:
   /**
    * Get SIDs (DPs) associated with this runway
    */
-  std::vector<flightgear::SID*> getSIDs();
+  std::vector<flightgear::SID*> getSIDs() const;
   
   /**
    * Get STARs associared with this runway
    */ 
-  std::vector<flightgear::STAR*> getSTARs();
+  std::vector<flightgear::STAR*> getSTARs() const;
+  
+  
+  std::vector<flightgear::Approach*> getApproaches() const;
   
 };