]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/dummy.cpp
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / source / libmarklin / dummy.cpp
index b8478a2fe95c10e7f27843a531f658f26df72c04..da6c5c97cb630874db1889afcbd0476365016b7f 100644 (file)
@@ -21,6 +21,18 @@ void Dummy::set_power(bool p)
        signal_power.emit(power);
 }
 
+const char *Dummy::enumerate_protocols(unsigned i) const
+{
+       if(i==0)
+               return "dummy";
+       return 0;
+}
+
+unsigned Dummy::get_protocol_speed_steps(const string &) const
+{
+       return 0;
+}
+
 void Dummy::add_turnout(unsigned addr)
 {
        turnouts[addr];