]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/locotype.h
Change terminology to better distinguish routes on the layout from paths across track...
[r2c2.git] / source / libmarklin / locotype.h
index bce5c57249ff8f8601e5e78289f8672203240f15..7509eca1c991078d98235ef2bd842cefda8a3374 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_LOCOTYPE_H_
 #define LIBMARKLIN_LOCOTYPE_H_
 
@@ -8,14 +15,10 @@ namespace Marklin {
 class LocoType
 {
 public:
-       class Loader: public Msp::DataFile::Loader
+       class Loader: public Msp::DataFile::BasicLoader<LocoType>
        {
-       private:
-               LocoType &ltype;
-
        public:
                Loader(LocoType &);
-               LocoType &get_object() const { return ltype; }
        private:
                void function(unsigned, const std::string &);
        };