X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=277ad4d9b2bdf8557d671fb2ee93649cf11e77ec;hb=ed434d9967b0b23e4abb172d699ef956246f4bf9;hp=ad919a6974898fa4cdc2e8eb0e8eb1fdb9af2c95;hpb=416ba93a417c4cadde025ba4d7bbcce71d613372;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index ad919a697..277ad4d9b 100644 --- a/src/ATC/atc_mgr.hxx +++ b/src/ATC/atc_mgr.hxx @@ -49,8 +49,9 @@ class FGATCManager : public SGSubsystem private: AtcVec activeStations; FGAIAircraft ai_ac; - FGATCController *controller; // The ATC controller that is responsible for the user's aircraft. + FGATCController *controller, *prevController; // The ATC controller that is responsible for the user's aircraft. //FGATCDialogNew dialog; // note that this variable should really replace the ugly global "currentATCDialog(); + bool networkVisible; public: FGATCManager(); @@ -58,6 +59,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