aboutsummaryrefslogtreecommitdiff
path: root/paludis/choice.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/choice.hh')
-rw-r--r--paludis/choice.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/paludis/choice.hh b/paludis/choice.hh
index cd495982e..ae1622fe6 100644
--- a/paludis/choice.hh
+++ b/paludis/choice.hh
@@ -21,6 +21,7 @@
#define PALUDIS_GUARD_PALUDIS_CHOICE_HH 1
#include <paludis/choice-fwd.hh>
+#include <paludis/permitted_choice_value_parameter_values-fwd.hh>
#include <paludis/util/attributes.hh>
#include <paludis/util/wrapped_forward_iterator.hh>
#include <paludis/util/pimp.hh>
@@ -371,6 +372,14 @@ namespace paludis
*/
virtual const std::string parameter() const PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
+ /**
+ * Permitted values for this flag's parameter, or null if there is no parameter.
+ *
+ * \since 0.59
+ */
+ virtual const std::shared_ptr<const PermittedChoiceValueParameterValues> permitted_parameter_values() const
+ PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
+
///\}
};