]> 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 1409e3fdebbd7a801a0f08a8d5463fc40917c531..de7f0b8cab153568631e8e45b5532c060170ee29 100644 (file)
@@ -235,7 +235,7 @@ private:
     void readThresholdData(SGPropertyNode* aRoot);
     void processThreshold(SGPropertyNode* aThreshold);
       
-  void readILSData(SGPropertyNode* aRoot);
+    void readILSData(SGPropertyNode* aRoot);
   
     void validateTowerData() const;
     
@@ -256,15 +256,19 @@ private:
     mutable bool mRunwaysLoaded;
     mutable bool mTaxiwaysLoaded;
     mutable bool mProceduresLoaded;
-  bool mILSDataLoaded;
+    bool mILSDataLoaded;
   
     mutable PositionedIDVec mRunways;
     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