X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATC%2Fatc_mgr.hxx;h=09d40197a36a7ec0294562d311a24367898bb6d3;hb=e34d97796c74263558002040f2eedc2cce204a40;hp=81025b95edac36ca9121b69a996ebabb45404257;hpb=3f26233d696b3b91d0fb167108a609f0483ad0b6;p=flightgear.git diff --git a/src/ATC/atc_mgr.hxx b/src/ATC/atc_mgr.hxx index 81025b95e..09d40197a 100644 --- a/src/ATC/atc_mgr.hxx +++ b/src/ATC/atc_mgr.hxx @@ -41,17 +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(); @@ -59,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_