X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffeature.h;h=f8ec33471de5995e255e68c048a203e8ade78be2;hb=d1f9551e05c9d341149eb490e05b1465d3d6b711;hp=657c86005c006e509bca0334b0f24e6ec9809160;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/feature.h b/source/feature.h index 657c860..f8ec334 100644 --- a/source/feature.h +++ b/source/feature.h @@ -9,15 +9,18 @@ struct Feature { public: Loader(Feature &); + + private: + void choice(const std::string &); }; std::string name; - std::string descr; - std::string def_value; + std::string description; + std::string default_value = "no"; + std::vector choices; + bool exported = false; - Feature(const std::string &n): name(n) { } + Feature(const std::string &); }; -typedef std::list FeatureList; - #endif