]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/intellibox.h
Abort route planning if it takes too long
[r2c2.git] / source / libr2c2 / intellibox.h
index 8058aabbc5cc1883c211b0493d0ca8ae77ece2d8..df379a380518069ba0351ebdc06604c686f50556 100644 (file)
@@ -127,7 +127,7 @@ private:
        Msp::Time::TimeStamp next_event_query;
 
 public:
-       Intellibox(const std::string &);
+       Intellibox(const Options &);
 
        virtual void set_power(bool);
        virtual bool get_power() const { return power; }
@@ -136,6 +136,7 @@ public:
 
        virtual const char *enumerate_protocols(unsigned) const;
        virtual unsigned get_protocol_speed_steps(const std::string &) const;
+       virtual DetectedLocomotive *enumerate_detected_locos(unsigned) const { return 0; }
        virtual unsigned add_loco(unsigned, const std::string &, const VehicleType &);
        virtual void remove_loco(unsigned);
        virtual void set_loco_speed(unsigned, unsigned);