X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffeature.h;h=5bcaa4df53a3be6a91d538883c1a51701786e85c;hb=c75c89d2425ab0c69e94d45a5d956286838bbc67;hp=36d85bf84029ae4cb56225d4ae896e82bdc2f7dd;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/feature.h b/source/feature.h index 36d85bf..5bcaa4d 100644 --- a/source/feature.h +++ b/source/feature.h @@ -1,20 +1,25 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef FEATURE_H_ #define FEATURE_H_ +#include + struct Feature { + class Loader: public Msp::DataFile::ObjectLoader + { + public: + Loader(Feature &); + + private: + void choice(const std::string &); + }; + std::string name; - std::string descr; + std::string description; + std::string default_value; + std::list choices; - Feature(const std::string &n, const std::string &d): name(n), descr(d) { } + Feature(const std::string &); }; -typedef std::list FeatureList; #endif