X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fcatalogue.h;h=61a336f5f6c2e7441f6cb05cd38aa934b54e8734;hb=e5cd9e4fbc577036a0385c985b6b65df8218d0a2;hp=641b6f8b13c3ea15275a987cdd76a8eff71035f5;hpb=48dff17ed3144d944965e7cb534e1f8fb92bd620;p=r2c2.git diff --git a/source/libmarklin/catalogue.h b/source/libmarklin/catalogue.h index 641b6f8..61a336f 100644 --- a/source/libmarklin/catalogue.h +++ b/source/libmarklin/catalogue.h @@ -17,6 +17,7 @@ namespace Marklin { class LocoType; class TrackType; +class VehicleType; class Catalogue { @@ -43,6 +44,7 @@ private: float gauge; Profile rail_profile; Profile ballast_profile; + Profile path_profile; std::map tracks; std::map locos; Layout layout; @@ -55,6 +57,7 @@ public: float get_gauge() const { return gauge; } const Profile &get_rail_profile() const { return rail_profile; } const Profile &get_ballast_profile() const { return ballast_profile; } + const Profile &get_path_profile() const { return path_profile; } void add_track(TrackType &); const TrackType &get_track(unsigned) const;