//
// 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
#include <simgear/compiler.h>
+#include <vector>
+#include <map>
+
#include "ATC.hxx"
+SG_USING_STD(vector);
+SG_USING_STD(map);
+
+class NewGUI;
+
// ATCMenuEntry - an encapsulation of an entry in the ATC dialog
struct ATCMenuEntry {
void PopupDialog();
- void PopupCallback();
+ void PopupCallback(int);
void add_entry( const string& station, const string& transmission, const string& menutext, atc_type type, int code);
double _callbackWait;
FGATC* _callbackPtr;
int _callbackCode;
+
+ NewGUI *_gui;
};
extern FGATCDialog *current_atcdialog;