aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-26 23:55:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-26 23:55:45 +0100
commit33b601103aa5a842db15342a9e364c6409287c75 (patch)
treeff267ad64356809af4b47d0833da0f6077a7ee24 /paludis/elike_choices.hh
parentbf188f4a5cbdda5378f5568dc13661b41b3fd19b (diff)
downloadpaludis-33b601103aa5a842db15342a9e364c6409287c75.tar.gz
paludis-33b601103aa5a842db15342a9e364c6409287c75.tar.xz
build_options: trace
Diffstat (limited to 'paludis/elike_choices.hh')
-rw-r--r--paludis/elike_choices.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/paludis/elike_choices.hh b/paludis/elike_choices.hh
index e8d6670..dbdecd9 100644
--- a/paludis/elike_choices.hh
+++ b/paludis/elike_choices.hh
@@ -166,6 +166,29 @@ namespace paludis
static const UnprefixedChoiceName canonical_unprefixed_name() PALUDIS_ATTRIBUTE((warn_unused_result));
static const ChoiceNameWithPrefix canonical_name_with_prefix() PALUDIS_ATTRIBUTE((warn_unused_result));
};
+
+ class PALUDIS_VISIBLE ELikeTraceChoiceValue :
+ public ChoiceValue
+ {
+ private:
+ const bool _enabled;
+
+ public:
+ ELikeTraceChoiceValue(const std::tr1::shared_ptr<const PackageID> &,
+ const Environment * const env, const std::tr1::shared_ptr<const Choice> &);
+
+ virtual const UnprefixedChoiceName unprefixed_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const ChoiceNameWithPrefix name_with_prefix() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual bool enabled() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual bool enabled_by_default() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual bool locked() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::string description() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual bool explicitly_listed() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::string parameter() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ static const UnprefixedChoiceName canonical_unprefixed_name() PALUDIS_ATTRIBUTE((warn_unused_result));
+ static const ChoiceNameWithPrefix canonical_name_with_prefix() PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
}
#endif