]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/dynamics.hxx
Fix for refueling and radar calculations.
[flightgear.git] / src / Airports / dynamics.hxx
index 4eb8b4bc179c99bbb03227717ed07266cd5b5bc7..cbd9953bca99bb53f42357f617c6b1085ef62fef 100644 (file)
 #define _AIRPORT_DYNAMICS_HXX_
 
 
-#ifndef __cplusplus                                                          
+#ifndef __cplusplus
 # error This library requires C++
-#endif                        
+#endif
+
+#include <simgear/xml/easyxml.hxx>
+
+#include "parking.hxx"
+#include "groundnetwork.hxx"
+#include "runwayprefs.hxx"
+#include "trafficcontrol.hxx"
 
-  
 
 class FGAirportDynamics : public XMLVisitor {
-  
+
 private:
   double _longitude;    // degrees
   double _latitude;     // degrees
   double _elevation;    // ft
   string _id;
 
-  FGParkingVec parkings;
+  FGParkingVec       parkings;
   FGRunwayPreference rwyPrefs;
-  FGGroundNetwork groundNetwork;
+  FGGroundNetwork    groundNetwork;
+  FGTowerController  towerController;
 
   time_t lastUpdate;
   string prevTrafficType;
@@ -81,7 +88,8 @@ public:
   //const string &getName() const { return _name;};
   // Returns degrees
 
- FGGroundNetwork* getGroundNetwork() { return &groundNetwork; };
+  FGGroundNetwork   *getGroundNetwork()   { return &groundNetwork; };
+  FGTowerController *getTowerController() { return &towerController; };
   
 
   void setRwyUse(const FGRunwayPreference& ref);