aboutsummaryrefslogtreecommitdiff
path: root/paludis/partially_made_package_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-01 20:57:52 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commitf243a4014b98275a3ebb7872faadab5ba1fcafa8 (patch)
tree83724be5fe7feb82875e82a8cf4707d1e85cc929 /paludis/partially_made_package_dep_spec.hh
parentf0df32fb13ae4f2d9e78fa914a374da252a3ee52 (diff)
downloadpaludis-f243a4014b98275a3ebb7872faadab5ba1fcafa8.tar.gz
paludis-f243a4014b98275a3ebb7872faadab5ba1fcafa8.tar.xz
key requirements to constraints
Diffstat (limited to 'paludis/partially_made_package_dep_spec.hh')
-rw-r--r--paludis/partially_made_package_dep_spec.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/partially_made_package_dep_spec.hh b/paludis/partially_made_package_dep_spec.hh
index 78f7d16..14d2c5a 100644
--- a/paludis/partially_made_package_dep_spec.hh
+++ b/paludis/partially_made_package_dep_spec.hh
@@ -206,6 +206,12 @@ namespace paludis
const std::shared_ptr<const AdditionalPackageDepSpecRequirement> &);
/**
+ * Add a key requirement, return ourself.
+ */
+ PartiallyMadePackageDepSpec & key_constraint(
+ const std::string & key, const KeyConstraintOperation, const std::string & pattern);
+
+ /**
* Clear additional requirements, return ourself.
*
* \since 0.41