]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainproperties.h
Fix and improve Route::check_validity
[r2c2.git] / source / engineer / trainproperties.h
index 3c1a372fe606fed9801ce1ea069fbebe38903f10..b69569f77dd47eddd2fca0435e3be3a4c8478ec7 100644 (file)
@@ -24,11 +24,18 @@ private:
        Msp::GLtk::Dropdown *drp_type;
        Msp::GLtk::Entry *ent_name;
        Msp::GLtk::Dropdown *drp_priority;
+       Msp::GLtk::List *lst_vehicles;
+       Msp::GLtk::Dropdown *drp_new_vehicle;
+       std::vector<const Marklin::VehicleType *> add_vehicles;
+       std::set<unsigned> rem_vehicles;
 
 public:
        TrainProperties(Engineer &, const Msp::GLtk::Resources &, Marklin::Train *);
 private:
        virtual void on_ok_clicked();
+       void new_vehicle_selected(unsigned, const std::string &);
+       void remove_vehicle_clicked();
+       const Marklin::VehicleType &get_vehicle_type(unsigned, bool);
 };
 
 #endif