]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/train.h
Add both addresses of a double-address turnout
[r2c2.git] / source / libmarklin / train.h
index a89dc93c6addca56ff07ab23b0bd3b10cca6e404..b579d7f37deba40ba47d607baabf0e42817e7de7 100644 (file)
@@ -50,7 +50,8 @@ private:
                Block *block;
                unsigned entry;
 
-               BlockRef(Block *s, unsigned e): block(s), entry(e) { }
+               BlockRef(Block *, unsigned);
+               BlockRef next() const;
        };
 
        struct RealSpeed
@@ -75,6 +76,7 @@ private:
        Msp::Time::TimeStamp stop_timeout;
        unsigned functions;
        const Route *route;
+       const Route *next_route;
        bool end_of_route;
        std::string status;