]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainproperties.h
Rename the project to R²C²
[r2c2.git] / source / engineer / trainproperties.h
index 465154d2948789734672233ad7b0f39d8766978f..24458331bb4e1267b757092333efc4e848556651 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$
 
-This file is part of the MSP Märklin suite
+This file is part of R²C²
 Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
@@ -10,7 +10,7 @@ Distributed under the GPL
 
 #include <msp/gltk/dropdown.h>
 #include <msp/gltk/entry.h>
-#include <libmarklin/train.h>
+#include <libr2c2/train.h>
 #include "dialog.h"
 
 class Engineer;
@@ -19,7 +19,7 @@ class TrainProperties: public Dialog
 {
 private:
        Engineer &engineer;
-       Marklin::Train *train;
+       R2C2::Train *train;
        Msp::GLtk::Entry *ent_addr;
        Msp::GLtk::Dropdown *drp_protocol;
        Msp::GLtk::Dropdown *drp_type;
@@ -27,16 +27,16 @@ private:
        Msp::GLtk::Dropdown *drp_priority;
        Msp::GLtk::List *lst_vehicles;
        Msp::GLtk::Dropdown *drp_new_vehicle;
-       std::vector<const Marklin::VehicleType *> add_vehicles;
+       std::vector<const R2C2::VehicleType *> add_vehicles;
        std::set<unsigned> rem_vehicles;
 
 public:
-       TrainProperties(Engineer &, Marklin::Train *);
+       TrainProperties(Engineer &, R2C2::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);
+       const R2C2::VehicleType &get_vehicle_type(unsigned, bool);
 };
 
 #endif