aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_choices.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 17:38:05 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-27 17:38:05 +0000
commit9784b1a69caee4cd9d9f59ab00f11b1dbf23780e (patch)
tree03bdc638261a2840bdd3696a34db5f6724fb4981 /paludis/elike_choices.hh
parent000a779c9a4619b90278624a345c573acce2c23a (diff)
downloadpaludis-9784b1a69caee4cd9d9f59ab00f11b1dbf23780e.tar.gz
paludis-9784b1a69caee4cd9d9f59ab00f11b1dbf23780e.tar.xz
Add ELikeSymbolsChoiceValue
Diffstat (limited to 'paludis/elike_choices.hh')
-rw-r--r--paludis/elike_choices.hh26
1 files changed, 26 insertions, 0 deletions
diff --git a/paludis/elike_choices.hh b/paludis/elike_choices.hh
index 44030bf..2ed206c 100644
--- a/paludis/elike_choices.hh
+++ b/paludis/elike_choices.hh
@@ -244,6 +244,32 @@ 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 ELikeSymbolsChoiceValue :
+ public ChoiceValue
+ {
+ private:
+ const bool _enabled;
+ const ELikeSymbolsChoiceValueParameter _param;
+
+ public:
+ ELikeSymbolsChoiceValue(const std::shared_ptr<const PackageID> &,
+ const Environment * const env, const std::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));
+ 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