aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_choices.cc')
-rw-r--r--paludis/elike_choices.cc149
1 files changed, 0 insertions, 149 deletions
diff --git a/paludis/elike_choices.cc b/paludis/elike_choices.cc
index 61c978862..d7cd238c7 100644
--- a/paludis/elike_choices.cc
+++ b/paludis/elike_choices.cc
@@ -79,155 +79,6 @@ namespace
}
const UnprefixedChoiceName
-ELikeStripChoiceValue::canonical_unprefixed_name()
-{
- return UnprefixedChoiceName("strip");
-}
-
-const ChoiceNameWithPrefix
-ELikeStripChoiceValue::canonical_name_with_prefix()
-{
- return ChoiceNameWithPrefix(stringify(canonical_build_options_prefix()) + ":" + stringify(canonical_unprefixed_name()));
-}
-
-ELikeStripChoiceValue::ELikeStripChoiceValue(const std::shared_ptr<const PackageID> & id,
- const Environment * const env, const std::shared_ptr<const Choice> & choice, const Tribool forced_value) :
- _enabled(forced_value.is_indeterminate() ? ! env->want_choice_enabled(id, choice, canonical_unprefixed_name()).is_false() :
- forced_value.is_true() ? true : false),
- _forced(! forced_value.is_indeterminate())
-{
-}
-
-const UnprefixedChoiceName
-ELikeStripChoiceValue::unprefixed_name() const
-{
- return canonical_unprefixed_name();
-}
-
-const ChoiceNameWithPrefix
-ELikeStripChoiceValue::name_with_prefix() const
-{
- return canonical_name_with_prefix();
-}
-
-bool
-ELikeStripChoiceValue::enabled() const
-{
- return _enabled;
-}
-
-bool
-ELikeStripChoiceValue::enabled_by_default() const
-{
- return true;
-}
-
-bool
-ELikeStripChoiceValue::locked() const
-{
- return false;
-}
-
-const std::string
-ELikeStripChoiceValue::description() const
-{
- return "Strip binaries and libraries before installation";
-}
-
-bool
-ELikeStripChoiceValue::explicitly_listed() const
-{
- return true;
-}
-
-const std::string
-ELikeStripChoiceValue::parameter() const
-{
- return "";
-}
-
-const std::shared_ptr<const PermittedChoiceValueParameterValues>
-ELikeStripChoiceValue::permitted_parameter_values() const
-{
- return make_null_shared_ptr();
-}
-
-const UnprefixedChoiceName
-ELikeSplitChoiceValue::canonical_unprefixed_name()
-{
- return UnprefixedChoiceName("split");
-}
-
-const ChoiceNameWithPrefix
-ELikeSplitChoiceValue::canonical_name_with_prefix()
-{
- return ChoiceNameWithPrefix(stringify(canonical_build_options_prefix()) + ":" + stringify(canonical_unprefixed_name()));
-}
-
-ELikeSplitChoiceValue::ELikeSplitChoiceValue(const std::shared_ptr<const PackageID> & id,
- const Environment * const env, const std::shared_ptr<const Choice> & choice,
- const Tribool forced_value) :
- _enabled(forced_value.is_indeterminate() ? ! env->want_choice_enabled(id, choice, canonical_unprefixed_name()).is_false() :
- forced_value.is_true() ? true : false),
- _forced(! forced_value.is_indeterminate())
-{
-}
-
-const UnprefixedChoiceName
-ELikeSplitChoiceValue::unprefixed_name() const
-{
- return canonical_unprefixed_name();
-}
-
-const ChoiceNameWithPrefix
-ELikeSplitChoiceValue::name_with_prefix() const
-{
- return canonical_name_with_prefix();
-}
-
-bool
-ELikeSplitChoiceValue::enabled() const
-{
- return _enabled;
-}
-
-bool
-ELikeSplitChoiceValue::enabled_by_default() const
-{
- return true;
-}
-
-bool
-ELikeSplitChoiceValue::locked() const
-{
- return false;
-}
-
-const std::string
-ELikeSplitChoiceValue::description() const
-{
- return "Split debugging information out from binaries and libraries before installation";
-}
-
-bool
-ELikeSplitChoiceValue::explicitly_listed() const
-{
- return true;
-}
-
-const std::string
-ELikeSplitChoiceValue::parameter() const
-{
- return "";
-}
-
-const std::shared_ptr<const PermittedChoiceValueParameterValues>
-ELikeSplitChoiceValue::permitted_parameter_values() const
-{
- return make_null_shared_ptr();
-}
-
-const UnprefixedChoiceName
ELikeOptionalTestsChoiceValue::canonical_unprefixed_name()
{
return UnprefixedChoiceName("optional_tests");