]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atc_mgr.hxx
Merge branch 'next' into durk-atc
[flightgear.git] / src / ATC / atc_mgr.hxx
index 5aab9b64cc3cfba00c1e498c7ad5feee6186cfe3..33fa5c40a970376c04e1d1d0ffa550dfbedba5e2 100644 (file)
@@ -36,6 +36,8 @@
 
 #include <ATC/trafficcontrol.hxx>
 #include <ATC/atcdialog.hxx>
+
+#include <AIModel/AIAircraft.hxx>
 //class FGATCController;
 
 
@@ -46,6 +48,7 @@ class FGATCManager : public SGSubsystem
 {
 private:
   AtcVec activeStations;
+  FGAIAircraft ai_ac;
   FGATCController *controller; // The ATC controller that is responsible for the user's aircraft. 
   //FGATCDialogNew dialog;  // note that this variable should really replace the ugly global "currentATCDialog();
 
@@ -55,6 +58,7 @@ public:
   void init();
   void addController(FGATCController *controller);
   void update(double time);
+  FGATCDialogNew * getATCDialog() {  return currentATCDialog; };
 };
   
 #endif // _ATC_MRG_HXX_
\ No newline at end of file