X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fcatalogue.h;h=73ad4e8e5694949d2de20fd597df1b7cb7320fb4;hb=8b828fc32fd210b6e335ac6614d269aa892d4d57;hp=c8b006ab42820b8b7b786e3ca494292fed7874a3;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/libr2c2/catalogue.h b/source/libr2c2/catalogue.h index c8b006a..73ad4e8 100644 --- a/source/libr2c2/catalogue.h +++ b/source/libr2c2/catalogue.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_CATALOGUE_H_ #define LIBR2C2_CATALOGUE_H_ @@ -50,6 +43,7 @@ private: Profile rail_profile; Profile ballast_profile; Profile path_profile; + std::string track_technique; TrackMap tracks; VehicleMap vehicles; Layout layout; @@ -64,6 +58,7 @@ public: 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; } + const std::string &get_track_technique() const { return track_technique; } void add_track(TrackType &); const TrackType &get_track(const ArticleNumber &) const;