X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftrainproperties.h;h=bcd0b1df921ff6f85dfe02491b9be5792f29874b;hb=39566dc89cdadf4f6e701a14b5d9049f22b591fb;hp=5d24613a7329a3cf718189a94adf635fc0ff6760;hpb=1d735b80482317fd930eb47ca255ab9f1f120a7d;p=r2c2.git diff --git a/source/engineer/trainproperties.h b/source/engineer/trainproperties.h index 5d24613..bcd0b1d 100644 --- a/source/engineer/trainproperties.h +++ b/source/engineer/trainproperties.h @@ -1,6 +1,14 @@ +/* $Id$ + +This file is part of the MSP Märklin suite +Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa +Distributed under the GPL +*/ + #ifndef TRAINPROPERTIES_H_ #define TRAINPROPERTIES_H_ +#include #include #include #include @@ -9,18 +17,22 @@ class Engineer; class TrainProperties: public Msp::GLtk::Panel { +public: + sigc::signal signal_ok; + sigc::signal signal_cancel; + private: Engineer &engineer; Marklin::Train *train; Msp::GLtk::Entry *ent_addr; + Msp::GLtk::Dropdown *drp_type; Msp::GLtk::Entry *ent_name; public: - sigc::signal signal_ok; - TrainProperties(Engineer &, Msp::GLtk::Resources &, Marklin::Train *); private: void ok_clicked(); + void cancel_clicked(); }; #endif