]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/tracktype.h
Add Id tags and copyright notices to files
[r2c2.git] / source / libmarklin / tracktype.h
index 9822fb26c72b66af71b64c354677328ae293e173..310d17f4eca60fc748ef79e7d5a6964add537f69 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef LIBMARKLIN_TRACKTYPE_H_
 #define LIBMARKLIN_TRACKTYPE_H_
 
@@ -37,6 +44,7 @@ public:
        unsigned get_article_number() const { return art_nr; }
        const std::string &get_description() const { return description; }
        float get_total_length() const;
+       float get_route_length(int) const;
        unsigned get_n_routes() const;
        const std::vector<TrackPart> &get_parts() const { return parts; }
        const std::vector<Endpoint>  &get_endpoints() const { return endpoints; }