]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/simple.hxx
toggle fullscreen: also adapt GUI plane when resizing
[flightgear.git] / src / Airports / simple.hxx
index dafe33496b5216fb4912b1d633d68e0189052cb3..de7f0b8cab153568631e8e45b5532c060170ee29 100644 (file)
@@ -123,9 +123,6 @@ public:
     unsigned int numTaxiways() const;
     FGTaxiway* getTaxiwayByIndex(unsigned int aIndex) const;
 
-    bool hasTaxiwayWithIdent(const std::string& aIdent) const;
-    FGTaxiway* getTaxiwayByIdent(const std::string& aIdent) const;
-
     unsigned int numPavements() const;
     FGPavement* getPavementByIndex(unsigned int aIndex) const;
     
@@ -265,9 +262,13 @@ private:
     mutable PositionedIDVec mTaxiways;
     PositionedIDVec mPavements;
     
-    std::vector<flightgear::SID*> mSIDs;
-    std::vector<flightgear::STAR*> mSTARs;
-    std::vector<flightgear::Approach*> mApproaches;
+    typedef SGSharedPtr<flightgear::SID> SIDRef;
+    typedef SGSharedPtr<flightgear::STAR> STARRef;
+    typedef SGSharedPtr<flightgear::Approach> ApproachRef;
+    
+    std::vector<SIDRef> mSIDs;
+    std::vector<STARRef> mSTARs;
+    std::vector<ApproachRef> mApproaches;
   };
 
 // find basic airport location info from airport database