X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Ftrain.h;h=b579d7f37deba40ba47d607baabf0e42817e7de7;hb=c12e074c6b9b5136e72931fb47a562e40e0a24f9;hp=a89dc93c6addca56ff07ab23b0bd3b10cca6e404;hpb=d27edb207810f0b4e44be8c3632d421faa5fed80;p=r2c2.git diff --git a/source/libmarklin/train.h b/source/libmarklin/train.h index a89dc93..b579d7f 100644 --- a/source/libmarklin/train.h +++ b/source/libmarklin/train.h @@ -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;