aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_choices.hh')
-rw-r--r--paludis/elike_choices.hh44
1 files changed, 44 insertions, 0 deletions
diff --git a/paludis/elike_choices.hh b/paludis/elike_choices.hh
index 60a237a7a..01d1b0e45 100644
--- a/paludis/elike_choices.hh
+++ b/paludis/elike_choices.hh
@@ -229,6 +229,50 @@ namespace paludis
static bool should_remove_on_failure(const std::string &) PALUDIS_ATTRIBUTE((warn_unused_result));
static bool should_merge_nondestructively(const std::string &) PALUDIS_ATTRIBUTE((warn_unused_result));
};
+
+ class PALUDIS_VISIBLE ELikeDwarfCompressionChoiceValue :
+ public ChoiceValue
+ {
+ private:
+ bool _enabled;
+
+ public:
+ ELikeDwarfCompressionChoiceValue(const std::shared_ptr<const PackageID> &,
+ const Environment * const,
+ const std::shared_ptr<const Choice> &);
+
+ ///\name Properties
+ ///\{
+
+ 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 presumed() 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 ChoiceOrigin origin() const
+ PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::string parameter() const
+ PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::shared_ptr<const PermittedChoiceValueParameterValues> permitted_parameter_values() 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
+