X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fintellibox.h;h=df379a380518069ba0351ebdc06604c686f50556;hb=8776713b20fdc7cdd09f7e2363679ebd06665d32;hp=8058aabbc5cc1883c211b0493d0ca8ae77ece2d8;hpb=73e4a36bbf828e07b83a779b696875e1f80045cc;p=r2c2.git diff --git a/source/libr2c2/intellibox.h b/source/libr2c2/intellibox.h index 8058aab..df379a3 100644 --- a/source/libr2c2/intellibox.h +++ b/source/libr2c2/intellibox.h @@ -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);