]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCDialog.hxx
Recent SimGear changes seem to require more additions of config.h to FG in order...
[flightgear.git] / src / ATC / ATCDialog.hxx
index 85a6721e6a300fd0473b6355d9cbce94e1fdc8ae..af3f918e04c3ba5481a9de76796a49786e424296 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef ATC_DIALOG_HXX
 #define ATC_DIALOG_HXX
@@ -25,6 +25,8 @@
 
 #include "ATC.hxx"
 
+class NewGUI;
+
 // ATCMenuEntry - an encapsulation of an entry in the ATC dialog
 struct ATCMenuEntry {
 
@@ -64,12 +66,12 @@ public:
        
        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; 
@@ -83,7 +85,7 @@ public:
        
        // Display the comm ATC frequencies for airport ident
        // where ident is a valid ICAO code.
-       void FreqDisplay(string ident);
+       void FreqDisplay(string& ident);
 
 private:
 
@@ -97,6 +99,8 @@ private:
        double _callbackWait;
        FGATC* _callbackPtr;
        int _callbackCode;
+
+       NewGUI *_gui;
 };
        
 extern FGATCDialog *current_atcdialog;