]> git.tdb.fi Git - builder.git/blobdiff - source/feature.cpp
Base config options directly on features
[builder.git] / source / feature.cpp
index 7c19af5c40b5af674b00ff1f0068cc35134a8ae1..a483482c55e0a330c36a188a534f037d74fc08bf 100644 (file)
@@ -1,15 +1,8 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "feature.h"
 
 Feature::Loader::Loader(Feature &f):
-       Msp::DataFile::BasicLoader<Feature>(f)
+       Msp::DataFile::ObjectLoader<Feature>(f)
 {
-       add("description", &Feature::descr);
-       add("default",     &Feature::def_value);
+       add("description", &Feature::description);
+       add("default",     &Feature::default_value);
 }