X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fcatalogue.h;h=4ce6fb1b712de8daa3d32f988d5ec5d43f0b6623;hb=6109a2122226e1c71e9cc71e4c21036e99e43601;hp=7ce3e73c0d30a3d98cd252a8f0d47a726d200b88;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/libmarklin/catalogue.h b/source/libmarklin/catalogue.h index 7ce3e73..4ce6fb1 100644 --- a/source/libmarklin/catalogue.h +++ b/source/libmarklin/catalogue.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of the MSP Märklin suite -Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -19,13 +19,11 @@ class TrackType; class Catalogue { public: - class Loader: public Msp::DataFile::Loader + class Loader: public Msp::DataFile::BasicLoader { public: Loader(Catalogue &); private: - Catalogue &cat; - void locomotive(unsigned); void track(unsigned); }; @@ -41,7 +39,6 @@ public: const std::map &get_tracks() const { return tracks; } LocoType &get_locomotive(unsigned) const; const std::map &get_locomotives() const { return locos; } - void load(const std::string &); }; } // namespace Marklin