]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/locotype.h
Support dual-address locomotives with extra functions on the second address
[r2c2.git] / source / libmarklin / locotype.h
index 7509eca1c991078d98235ef2bd842cefda8a3374..5fd34d8c32f20d56d043075e7fa5dfd9d72ed985 100644 (file)
@@ -32,6 +32,7 @@ public:
        LocoType(unsigned);
        unsigned get_article_number() const { return art_nr; }
        const std::string &get_name() const { return name; }
+       unsigned get_max_function() const;
        const std::map<unsigned, std::string> &get_functions() const { return funcs; }
 };