X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Ftrain.h;h=3de4f7d38303bc067f55f4a83a1e070f01ccc07a;hb=e9653dffd0026fb3c02c91a4c0feca688a86c721;hp=74c6ccb6cae38d28d3216f0ed6d6dd53cc5dd7b7;hpb=9ddcd066e37e4c72685817c042c30897786ece05;p=r2c2.git diff --git a/source/network/train.h b/source/network/train.h index 74c6ccb..3de4f7d 100644 --- a/source/network/train.h +++ b/source/network/train.h @@ -9,7 +9,7 @@ Distributed under the GPL #define MARKLINNET_TRAIN_H_ #include -#include "libmarklin/locotype.h" +#include "libmarklin/vehicletype.h" #include "packets.h" namespace Marklin { @@ -27,7 +27,7 @@ public: private: Client &client; - const LocoType &loco_type; + const VehicleType &loco_type; unsigned address; std::string name; std::map controls; @@ -38,7 +38,7 @@ private: public: NetTrain(Client &, const TrainInfoPacket &); - const LocoType &get_loco_type() const { return loco_type; } + const VehicleType &get_loco_type() const { return loco_type; } unsigned get_address() const { return address; } const std::string &get_name() const { return name; } void set_control(const std::string &, float);