]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Add an alias for x86_64
[builder.git] / source / feature.h
index a42e8259bb60199ab594a3fdb004362fb8162c0f..1d4bf51a90bf46348a0278640de00ccbdc9fbce8 100644 (file)
@@ -1,13 +1,30 @@
+/* $Id$
+
+This file is part of builder
+Copyright © 2007, 2009  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef FEATURE_H_
 #define FEATURE_H_
 
+#include <msp/datafile/loader.h>
+
 struct Feature
 {
+       class Loader: public Msp::DataFile::BasicLoader<Feature>
+       {
+       public:
+               Loader(Feature &);
+       };
+
        std::string name;
        std::string descr;
+       std::string def_value;
 
-       Feature(const std::string &n, const std::string &d): name(n), descr(d) { }
+       Feature(const std::string &n): name(n) { }
 };
+
 typedef std::list<Feature> FeatureList;
 
 #endif