]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Make tools capable of reporting a system-wide path used to locate input files
[builder.git] / source / feature.h
index a42e8259bb60199ab594a3fdb004362fb8162c0f..657c86005c006e509bca0334b0f24e6ec9809160 100644 (file)
@@ -1,13 +1,23 @@
 #ifndef FEATURE_H_
 #define FEATURE_H_
 
+#include <msp/datafile/objectloader.h>
+
 struct Feature
 {
+       class Loader: public Msp::DataFile::ObjectLoader<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