X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=09d40197a36a7ec0294562d311a24367898bb6d3;hb=e34d97796c74263558002040f2eedc2cce204a40;hp=33fa5c40a970376c04e1d1d0ffa550dfbedba5e2;hpb=f9a5f921a4853f7e64d467d63e19acf8f6f84979;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index 33fa5c40a..09d40197a 100644 --- a/src/ATC/atc_mgr.hxx +++ b/src/ATC/atc_mgr.hxx @@ -41,16 +41,18 @@ //class FGATCController; -typedef vector AtcVec; -typedef vector::iterator AtcVecIterator; +typedef std::vector AtcVec; +typedef std::vector::iterator AtcVecIterator; 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(); + FGATCController *controller, *prevController; // The ATC controller that is responsible for the user's aircraft. + bool networkVisible; + bool initSucceeded; + SGPropertyNode_ptr trans_num; public: FGATCManager(); @@ -58,7 +60,6 @@ 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 +#endif // _ATC_MRG_HXX_