#include "ATC.hxx"
+class NewGUI;
+
// ATCMenuEntry - an encapsulation of an entry in the ATC dialog
struct ATCMenuEntry {
void PopupDialog();
- void PopupCallback();
+ void PopupCallback(int);
- void add_entry( string station, string transmission, string menutext, atc_type type, int code);
+ void add_entry( const string& station, const string& transmission, const 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;
// Display the comm ATC frequencies for airport ident
// where ident is a valid ICAO code.
- void FreqDisplay(string ident);
+ void FreqDisplay(string& ident);
private:
double _callbackWait;
FGATC* _callbackPtr;
int _callbackCode;
+
+ NewGUI *_gui;
};
extern FGATCDialog *current_atcdialog;