X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffeature.h;h=f0134db8dbdb712d9b276d57addd4203a96359db;hb=ae1ab287b544cc19d185024fa64e475a957313e4;hp=e5176c46083a48d0b9cb6fbd439cebf3bc1c1a3d;hpb=0458300fda4f345f865a7f3ee4fc0f2020a91983;p=builder.git diff --git a/source/feature.h b/source/feature.h index e5176c4..f0134db 100644 --- a/source/feature.h +++ b/source/feature.h @@ -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 choices; + bool exported; - Feature(const std::string &n): name(n) { } + Feature(const std::string &); }; -typedef std::list FeatureList; - #endif