X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Ftracktype.h;h=6f636e0c7cfea62e4c13aa50236810745246229e;hb=651698847d5293cfb15b6fb23a394701388c0151;hp=45d8720bd4ae02da8d72f5fc299063017e8302ff;hpb=dcfa1e9503b7e97b61396d7458f0b2e5896779cd;p=r2c2.git diff --git a/source/libmarklin/tracktype.h b/source/libmarklin/tracktype.h index 45d8720..6f636e0 100644 --- a/source/libmarklin/tracktype.h +++ b/source/libmarklin/tracktype.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -40,7 +40,10 @@ public: const std::string &get_description() const { return description; } float get_total_length() const; float get_path_length(int) const; + unsigned get_paths() const; unsigned get_n_paths() const; + bool is_turnout() const; + bool is_double_address() const; const std::vector &get_parts() const { return parts; } const std::vector &get_endpoints() const { return endpoints; }