]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/catalogue.h
Use IO::Serial in the Intellibox driver
[r2c2.git] / source / libr2c2 / catalogue.h
index c8b006ab42820b8b7b786e3ca494292fed7874a3..73ad4e8e5694949d2de20fd597df1b7cb7320fb4 100644 (file)
@@ -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;