]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/train.h
Add a UI for editing train timetables
[r2c2.git] / source / libmarklin / train.h
index 8087745f3dd29f03b9d3b3bfb4eec75859c246e8..ccfcbec1058f0dd6c12ab5409ad66415e4c27298 100644 (file)
@@ -120,6 +120,9 @@ public:
        bool get_function(unsigned) const;
        unsigned get_functions() const { return functions; }
 
+       void set_timetable(Timetable *);
+       Timetable *get_timetable() { return timetable; }
+
        void set_route(const Route *);
        void go_to(const Track &);
        const Route *get_route() const { return route; }