]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/catalogue.h
Allow intercepting and denying turnout route and locomotive speed changes
[r2c2.git] / source / libmarklin / catalogue.h
index 4179ea75aa339ceedb781d147d3338a33b152b52..5f13999dd26e7ed91fd648c60eec766d066d022a 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2009  Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef LIBMARKLIN_CATALOGUE_H_
 #define LIBMARKLIN_CATALOGUE_H_
 
@@ -12,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);
        };