]> git.tdb.fi Git - builder.git/blob - source/feature.h
Fix a bug in condition evaluation
[builder.git] / source / feature.h
1 /* $Id$
2
3 This file is part of builder
4 Copyright © 2007, 2009  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef FEATURE_H_
9 #define FEATURE_H_
10
11 #include <msp/datafile/loader.h>
12
13 struct Feature
14 {
15         class Loader: public Msp::DataFile::BasicLoader<Feature>
16         {
17         public:
18                 Loader(Feature &);
19         };
20
21         std::string name;
22         std::string descr;
23         std::string def_value;
24
25         Feature(const std::string &n): name(n) { }
26 };
27
28 typedef std::list<Feature> FeatureList;
29
30 #endif