aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_spec.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/dep_spec.hh')
-rw-r--r--paludis/dep_spec.hh13
1 files changed, 5 insertions, 8 deletions
diff --git a/paludis/dep_spec.hh b/paludis/dep_spec.hh
index 9682bdb9b..bd7c4af6f 100644
--- a/paludis/dep_spec.hh
+++ b/paludis/dep_spec.hh
@@ -32,7 +32,6 @@
#include <paludis/dep_spec-fwd.hh>
#include <paludis/name.hh>
#include <paludis/version_operator-fwd.hh>
-#include <paludis/version_requirements-fwd.hh>
#include <paludis/version_spec-fwd.hh>
#include <paludis/package_id-fwd.hh>
#include <paludis/environment-fwd.hh>
@@ -340,14 +339,12 @@ namespace paludis
const std::shared_ptr<const CategoryNamePartConstraint> category_name_part_constraint() const;
/**
- * Fetch the version requirements (may be a zero pointer).
- */
- std::shared_ptr<const VersionRequirements> version_requirements_ptr() const;
-
- /**
- * Fetch the version requirements mode.
+ * Fetch all our VersionConstraints, if we have any, or
+ * a null pointer otherwise.
+ *
+ * \since 0.61
*/
- VersionRequirementsMode version_requirements_mode() const;
+ const std::shared_ptr<const VersionConstraintSequence> all_version_constraints() const;
/**
* Fetch the single ExactSlotConstraint, if we have one, or