]> git.tdb.fi Git - builder.git/blob - source/feature.h
Refactor transitive dependencies to work on all targets
[builder.git] / source / feature.h
1 #ifndef FEATURE_H_
2 #define FEATURE_H_
3
4 #include <msp/datafile/objectloader.h>
5
6 struct Feature
7 {
8         class Loader: public Msp::DataFile::ObjectLoader<Feature>
9         {
10         public:
11                 Loader(Feature &);
12
13         private:
14                 void choice(const std::string &);
15         };
16
17         std::string name;
18         std::string description;
19         std::string default_value;
20         std::list<std::string> choices;
21         bool exported;
22
23         Feature(const std::string &);
24 };
25
26 #endif