- add("description", &Feature::descr);
- add("default", &Feature::def_value);
+ add("choice", &Loader::choice);
+ add("description", &Feature::description);
+ add("default", &Feature::default_value);
+ add("export", &Feature::exported);
+}
+
+void Feature::Loader::choice(const string &c)
+{
+ if(obj.choices.empty())
+ obj.default_value = c;
+ obj.choices.push_back(c);