X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffeature.h;h=0dca1f524ed315cf681df464abd278a2da384879;hb=40ab4f61eaf7fc14fc6d1c2ea5eecee21882893a;hp=657c86005c006e509bca0334b0f24e6ec9809160;hpb=43bd25ffcb0b4f7882773f4676b209a99cb73c04;p=builder.git diff --git a/source/feature.h b/source/feature.h index 657c860..0dca1f5 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) { } }; -typedef std::list FeatureList; - #endif