X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=33fa5c40a970376c04e1d1d0ffa550dfbedba5e2;hb=81c0e0b3df9a742c7bdcae9e0ce1d234b70b4fb0;hp=5aab9b64cc3cfba00c1e498c7ad5feee6186cfe3;hpb=e04d2f8ba9421fe9811e2d2e474392f010ae54b3;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index 5aab9b64c..33fa5c40a 100644 --- a/src/ATC/atc_mgr.hxx +++ b/src/ATC/atc_mgr.hxx @@ -36,6 +36,8 @@ #include #include + +#include //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