X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Flocomotive.h;h=89b275ecb0db2020cc635dc695c8853648bd1d02;hb=7839b7c3d782abb5c98a24d51cae109407068c02;hp=b8d58c29b34a35174780ab661ef5b123e6bc15fc;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/libmarklin/locomotive.h b/source/libmarklin/locomotive.h index b8d58c2..89b275e 100644 --- a/source/libmarklin/locomotive.h +++ b/source/libmarklin/locomotive.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 */ @@ -17,6 +17,7 @@ namespace Marklin { class Control; class LocoType; +class Reply; class Locomotive { @@ -29,6 +30,7 @@ private: unsigned funcs; public: + sigc::signal signal_speed_changing; sigc::signal signal_speed_changed; sigc::signal signal_function_changed; @@ -45,7 +47,7 @@ public: void refresh_status(); private: void send_command(bool); - void status_reply(Error, const std::string &); + void status_reply(const Reply &); bool reverse_timeout(); };