]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Convert all list containers to vectors
[builder.git] / source / feature.h
index 657c86005c006e509bca0334b0f24e6ec9809160..2ab2081ec213e4a9658fa4852de2d87017c71db5 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::vector<std::string> choices;
+       bool exported;
 
-       Feature(const std::string &n): name(n) { }
+       Feature(const std::string &);
 };
 
-typedef std::list<Feature> FeatureList;
-
 #endif