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