X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Flocomotive.h;h=e3cbf7de238770e18dad536fb74dcc7cfc7d7d95;hb=ae0600f7c3df5b6ef46992b1423888dd0e9a5026;hp=b8d58c29b34a35174780ab661ef5b123e6bc15fc;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/libmarklin/locomotive.h b/source/libmarklin/locomotive.h index b8d58c2..e3cbf7d 100644 --- a/source/libmarklin/locomotive.h +++ b/source/libmarklin/locomotive.h @@ -17,6 +17,7 @@ namespace Marklin { class Control; class LocoType; +class Reply; class Locomotive { @@ -45,7 +46,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(); };