]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/turnout.h
Rewrite command/reply system
[r2c2.git] / source / libmarklin / turnout.h
index 0928eadc445e48311b9c075a4b483e8374b77c20..82b50d5c05e482019da642278ba43a79bce19f9d 100644 (file)
@@ -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);
 };