aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec_annotations.se
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-19 16:46:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-19 16:46:09 +0000
commit17b625c28f10fbc765f1a99af433da1e39a9253e (patch)
treebb9afd6ea7d811dc67937d2fb54094e5fe78c77a /paludis/dep_spec_annotations.se
parent7d994ad210d8fc308a506ad9c2cd3eeed4607a65 (diff)
downloadpaludis-17b625c28f10fbc765f1a99af433da1e39a9253e.tar.gz
paludis-17b625c28f10fbc765f1a99af433da1e39a9253e.tar.xz
Annotations have roles
Diffstat (limited to 'paludis/dep_spec_annotations.se')
-rw-r--r--paludis/dep_spec_annotations.se37
1 files changed, 37 insertions, 0 deletions
diff --git a/paludis/dep_spec_annotations.se b/paludis/dep_spec_annotations.se
new file mode 100644
index 000000000..1c5735f6a
--- /dev/null
+++ b/paludis/dep_spec_annotations.se
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+# vim: set sw=4 sts=4 et ft=sh :
+
+make_enum_DepSpecAnnotationRole()
+{
+ prefix dsar
+
+ key dsar_none "No particular role"
+
+ key dsar_general_description "A description"
+ key dsar_general_url "A url"
+ key dsar_general_note "A note"
+ key dsar_general_lang "A language"
+ key dsar_general_defined_in "Defined in"
+
+ key dsar_blocker_manual "Blocker, resolve manually"
+ key dsar_blocker_uninstall_blocked_after "Blocker, uninstall blocked after"
+ key dsar_blocker_uninstall_blocked_before "Blocker, uninstall blocked before"
+ key dsar_blocker_upgrade_blocked_before "Blocker, upgrade blocked before"
+
+ key dsar_myoptions_requires "MYOPTIONS, requires"
+ key dsar_myoptions_n_at_least_one "MYOPTIONS, at least one"
+ key dsar_myoptions_n_at_most_one "MYOPTIONS, at most one"
+ key dsar_myoptions_n_exactly_one "MYOPTIONS, exactly one"
+
+ want_destringify
+
+ doxygen_comment << "END"
+ /**
+ * Role for a DepSpecAnnotation.
+ *
+ * \ingroup g_dep_spec
+ * \since 0.58
+ */
+END
+}
+