X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fvehicletype.h;h=65f69e766d54ca66d48d3bb9000a6f68ab2bad22;hb=a4566a4a23ff676f11a90615e8e468ef50107946;hp=6c338905f6940fe03609866317fd75dd53f27138;hpb=e5cd9e4fbc577036a0385c985b6b65df8218d0a2;p=r2c2.git diff --git a/source/libmarklin/vehicletype.h b/source/libmarklin/vehicletype.h index 6c33890..65f69e7 100644 --- a/source/libmarklin/vehicletype.h +++ b/source/libmarklin/vehicletype.h @@ -41,6 +41,8 @@ public: float position; float wheel_dia; bool powered; + + Axle(); }; struct Bogie @@ -56,6 +58,10 @@ public: float position; std::vector axles; + std::string object; + bool rotate_object; + + Bogie(); }; private: @@ -66,9 +72,11 @@ private: float height; std::vector axles; std::vector bogies; + std::string object; public: VehicleType(unsigned); + virtual ~VehicleType() { } // XXX temporary unsigned get_article_number() const { return art_nr; } const std::string &get_name() const { return name; } @@ -77,6 +85,7 @@ public: float get_height() const { return height; } const std::vector &get_axles() const { return axles; } const std::vector &get_bogies() const { return bogies; } + const std::string &get_object() const { return object; } }; } // namespace Marklin