]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/catalogue.h
Add state loading and saving to engineer
[r2c2.git] / source / libmarklin / catalogue.h
index 7ce3e73c0d30a3d98cd252a8f0d47a726d200b88..5f13999dd26e7ed91fd648c60eec766d066d022a 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-200 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<Catalogue>
        {
        public:
                Loader(Catalogue &);
        private:
-               Catalogue &cat;
-
                void locomotive(unsigned);
                void track(unsigned);
        };