X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fdummy.h;h=7485fa59e2cd5baee2ab97c42cd5351a5bd9db4a;hb=975ea87cc7be179618b06291cb2506a2523cad1f;hp=239573127fe22592c0efb57181eeb1a94bb68a64;hpb=a4566a4a23ff676f11a90615e8e468ef50107946;p=r2c2.git diff --git a/source/libmarklin/dummy.h b/source/libmarklin/dummy.h index 2395731..7485fa5 100644 --- a/source/libmarklin/dummy.h +++ b/source/libmarklin/dummy.h @@ -35,7 +35,9 @@ public: virtual void halt(bool) { } virtual bool is_halted() const { return false; } - virtual void add_loco(unsigned) { } + virtual const char *enumerate_protocols(unsigned) const; + virtual unsigned get_protocol_speed_steps(const std::string &) const; + virtual void add_loco(unsigned, const std::string &) { } virtual void set_loco_speed(unsigned, unsigned); virtual void set_loco_reverse(unsigned, bool); virtual void set_loco_function(unsigned, unsigned, bool);