1 #ifndef NEWTRAINDIALOG_H_
2 #define NEWTRAINDIALOG_H_
4 #include <msp/gltk/dialog.h>
5 #include <msp/gltk/dropdown.h>
6 #include <msp/gltk/entry.h>
7 #include <msp/gltk/listdata.h>
8 #include "libr2c2/catalogue.h"
12 class NewTrainDialog: public Msp::GLtk::Dialog
16 Msp::GLtk::BasicListData<std::string> protocols;
17 Msp::GLtk::Dropdown *drp_protocol;
18 Msp::GLtk::Entry *ent_address;
19 Msp::GLtk::Entry *ent_name;
20 Msp::GLtk::FunctionListData<const R2C2::VehicleType *> loco_types;
21 Msp::GLtk::Dropdown *drp_loco_type;
24 NewTrainDialog(Engineer &);
27 virtual void on_response(int);