X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Flocotype.h;h=8234c4f45d1e85a661462c9bf46b9319a9d01d21;hb=a4566a4a23ff676f11a90615e8e468ef50107946;hp=5fd34d8c32f20d56d043075e7fa5dfd9d72ed985;hpb=e95240551e3c34d2fb21e99c358fa5922a2060c9;p=r2c2.git diff --git a/source/libmarklin/locotype.h b/source/libmarklin/locotype.h index 5fd34d8..8234c4f 100644 --- a/source/libmarklin/locotype.h +++ b/source/libmarklin/locotype.h @@ -8,14 +8,14 @@ Distributed under the GPL #ifndef LIBMARKLIN_LOCOTYPE_H_ #define LIBMARKLIN_LOCOTYPE_H_ -#include +#include "vehicletype.h" namespace Marklin { -class LocoType +class LocoType: public VehicleType { public: - class Loader: public Msp::DataFile::BasicLoader + class Loader: public VehicleType::Loader { public: Loader(LocoType &); @@ -30,8 +30,6 @@ private: 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 &get_functions() const { return funcs; } };