]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/locotype.h
Add state loading and saving to engineer
[r2c2.git] / source / libmarklin / locotype.h
index 190422ee7ec0b39a67f82169866c98c7646f78be..7509eca1c991078d98235ef2bd842cefda8a3374 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
 */
 
@@ -15,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 &);
        };