X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fcontrol.h;h=1d19263fb93da651807d5b0abaaa3d0978166eb5;hb=7839b7c3d782abb5c98a24d51cae109407068c02;hp=0ec3d5ba53022a6f3d2bde7614547d1c24703ee0;hpb=3df8cb5c78fbb0b919bcb79677c6c788b8028482;p=r2c2.git diff --git a/source/libmarklin/control.h b/source/libmarklin/control.h index 0ec3d5b..1d19263 100644 --- a/source/libmarklin/control.h +++ b/source/libmarklin/control.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -47,6 +47,7 @@ public: void set_power(bool); bool get_power() const { return power; } void set_debug(bool); + const std::map &get_turnouts() const { return turnouts; } const std::map &get_sensors() const { return sensors; } unsigned get_queue_length() const { return queue.size(); } void open(const std::string &);