]> git.tdb.fi Git - builder.git/blobdiff - source/feature.h
Allow features to be exported
[builder.git] / source / feature.h
index e5176c46083a48d0b9cb6fbd439cebf3bc1c1a3d..f0134db8dbdb712d9b276d57addd4203a96359db 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2007, 2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef FEATURE_H_
 #define FEATURE_H_
 
@@ -16,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