]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/timetable.h
Allow zones with no qualifier or no number
[r2c2.git] / source / libr2c2 / timetable.h
index 9ec804e0692d02834c72fa2de50bdb4fc6f0c795..3d7622aeb918c8ac35462df46e28cdc105548964 100644 (file)
@@ -2,12 +2,12 @@
 #define LIBR2C2_TIMETABLE_H_
 
 #include <msp/datafile/objectloader.h>
+#include "trackchain.h"
 #include "trainai.h"
 
 namespace R2C2 {
 
 class Layout;
-class TrackChain;
 
 class Timetable: public TrainAI
 {
@@ -44,11 +44,13 @@ public:
                private:
                        void block(unsigned);
                        void time(Msp::Time::RawTime);
-                       void zone(const std::string &, unsigned);
+                       void zone(const std::string &);
+                       void zone_numbered(const std::string &, unsigned);
                };
 
                RowType type;
                TrackChain *target;
+               TrackChain::Direction direction;
                Msp::Time::TimeDelta time;
 
                Row();