X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fturnout.h;fp=source%2Flibmarklin%2Fturnout.h;h=82b50d5c05e482019da642278ba43a79bce19f9d;hb=540e931ec79129c8776f48434ff5b230b53337f1;hp=0928eadc445e48311b9c075a4b483e8374b77c20;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/libmarklin/turnout.h b/source/libmarklin/turnout.h index 0928ead..82b50d5 100644 --- a/source/libmarklin/turnout.h +++ b/source/libmarklin/turnout.h @@ -17,6 +17,7 @@ Distributed under the GPL namespace Marklin { class Control; +class Reply; class Turnout { @@ -35,7 +36,7 @@ public: unsigned get_route() const { return route; } private: void command(bool); - void status_reply(Error, const std::string &); + void status_reply(const Reply &); bool switch_timeout(); void turnout_event(unsigned, bool); };