X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffeature.h;h=e5176c46083a48d0b9cb6fbd439cebf3bc1c1a3d;hb=0458300fda4f345f865a7f3ee4fc0f2020a91983;hp=36d85bf84029ae4cb56225d4ae896e82bdc2f7dd;hpb=7aeaa4ba965f596edad438c02e345a8843f7469a;p=builder.git diff --git a/source/feature.h b/source/feature.h index 36d85bf..e5176c4 100644 --- a/source/feature.h +++ b/source/feature.h @@ -1,20 +1,30 @@ /* $Id$ This file is part of builder -Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007, 2009 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 &); + }; + std::string name; std::string descr; + std::string def_value; - Feature(const std::string &n, const std::string &d): name(n), descr(d) { } + Feature(const std::string &n): name(n) { } }; + typedef std::list FeatureList; #endif