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.hh27
1 files changed, 21 insertions, 6 deletions
diff --git a/paludis/dep_spec.hh b/paludis/dep_spec.hh
index 529d099..3b370fc 100644
--- a/paludis/dep_spec.hh
+++ b/paludis/dep_spec.hh
@@ -324,9 +324,14 @@ namespace paludis
PartiallyMadePackageDepSpec & slot_requirement(const std::tr1::shared_ptr<const SlotRequirement> &);
/**
- * Set our repository requirements, return ourself.
+ * Set our in-repository requirements, return ourself.
*/
- PartiallyMadePackageDepSpec & repository(const RepositoryName &);
+ PartiallyMadePackageDepSpec & in_repository(const RepositoryName &);
+
+ /**
+ * Set our from-repository requirements, return ourself.
+ */
+ PartiallyMadePackageDepSpec & from_repository(const RepositoryName &);
/**
* Set our package name part requirements, return ourself.
@@ -446,9 +451,14 @@ namespace paludis
std::tr1::shared_ptr<const SlotRequirement> slot_requirement_ptr() const;
/**
- * Fetch the repo name (may be a zero pointer).
+ * Fetch the in-repo name (may be a zero pointer).
*/
- std::tr1::shared_ptr<const RepositoryName> repository_ptr() const;
+ std::tr1::shared_ptr<const RepositoryName> in_repository_ptr() const;
+
+ /**
+ * Fetch the from-repo name (may be a zero pointer).
+ */
+ std::tr1::shared_ptr<const RepositoryName> from_repository_ptr() const;
/**
* Fetch any additional requirements (may be a zero pointer).
@@ -525,9 +535,14 @@ namespace paludis
virtual std::tr1::shared_ptr<const SlotRequirement> slot_requirement_ptr() const = 0;
/**
- * Fetch the repo name (may be a zero pointer).
+ * Fetch the in-repo name (may be a zero pointer).
+ */
+ virtual std::tr1::shared_ptr<const RepositoryName> in_repository_ptr() const = 0;
+
+ /**
+ * Fetch the from-repo name (may be a zero pointer).
*/
- virtual std::tr1::shared_ptr<const RepositoryName> repository_ptr() const = 0;
+ virtual std::tr1::shared_ptr<const RepositoryName> from_repository_ptr() const = 0;
/**
* Fetch the additional requirements (may be a zero pointer).