]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Allow features to be exported
[builder.git] / source / feature.h
index 657c86005c006e509bca0334b0f24e6ec9809160..f0134db8dbdb712d9b276d57addd4203a96359db 100644 (file)
@@ -9,15 +9,18 @@ struct Feature
        {
        public:
                Loader(Feature &);
+
+       private:
+               void choice(const std::string &);
        };
 
        std::string name;
-       std::string descr;
-       std::string def_value;
+       std::string description;
+       std::string default_value;
+       std::list<std::string> choices;
+       bool exported;
 
-       Feature(const std::string &n): name(n) { }
+       Feature(const std::string &);
 };
 
-typedef std::list<Feature> FeatureList;
-
 #endif