#include <GUI/gui.h> // mkDialog
#include <GUI/new_gui.hxx>
+typedef vector<string> StringVec;
+typedef vector<string>:: iterator StringVecIterator;
static bool doATCDialog(const SGPropertyNode* arg);
class FGATCDialogNew {
private:
NewGUI *_gui;
- bool dialogVisible;
+ bool dialogVisible;
+ StringVec commands;
public:
FGATCDialogNew();
void update(double dt);
void PopupDialog();
+ void addEntry(int, string);
+ void removeEntry(int);
};
-extern FGATCDialogNew *current_atcdialog;
+extern FGATCDialogNew *currentATCDialog;
#endif // _ATC_DIALOG_HXX_
\ No newline at end of file