]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCDialog.hxx
I had hoped that gmtime's lack of thread-safety wouldn't bite us. It does.
[flightgear.git] / src / ATC / ATCDialog.hxx
index d5295c8a3d68ba4056207ab39a54b09fe6453794..85a6721e6a300fd0473b6355d9cbce94e1fdc8ae 100644 (file)
@@ -60,16 +60,22 @@ public:
        
        void Init();
        
+       void Update(double dt);
+       
        void PopupDialog();
        
+       void PopupCallback();
+       
        void add_entry( string station, string transmission, string menutext, atc_type type, int code);
        
        void remove_entry( const string &station, const string &trans, atc_type type );
        
        void remove_entry( const string &station, int code, atc_type type );
        
+       // query the database whether the transmission is already registered; 
        bool trans_reg( const string &station, const string &trans, atc_type type );
        
+       // query the database whether the transmission is already registered; 
        bool trans_reg( const string &station, int code, atc_type type );
        
        // Display a frequency search dialog for nearby stations
@@ -86,6 +92,11 @@ private:
        int  freq;
        bool reset;
        
+       bool _callbackPending;
+       double _callbackTimer;
+       double _callbackWait;
+       FGATC* _callbackPtr;
+       int _callbackCode;
 };
        
 extern FGATCDialog *current_atcdialog;