aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ralph Sennhauser <sera@gentoo.org> 2013-01-10 21:43:17 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-01-10 21:10:01 +0000
commitb3203f2ba9c8c92c1853a0a5bf039d0015615441 (patch)
treee130d5abbcdd846bbbd560e79888988c870c6cfc /paludis/user_dep_spec.hh
parentc8961658a2d8342927d29c7edcf99bc85aa1e7d0 (diff)
downloadpaludis-b3203f2ba9c8c92c1853a0a5bf039d0015615441.tar.gz
paludis-b3203f2ba9c8c92c1853a0a5bf039d0015615441.tar.xz
Allow EAPI 5 subslots in user package dep specs
Diffstat (limited to 'paludis/user_dep_spec.hh')
-rw-r--r--paludis/user_dep_spec.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/paludis/user_dep_spec.hh b/paludis/user_dep_spec.hh
index 92c01a979..9624412e2 100644
--- a/paludis/user_dep_spec.hh
+++ b/paludis/user_dep_spec.hh
@@ -53,6 +53,20 @@ namespace paludis
PackageDepSpec envless_parse_package_dep_spec_for_tests(
const std::string &) PALUDIS_VISIBLE;
+ class PALUDIS_VISIBLE UserSlotExactFullRequirement :
+ public SlotExactFullRequirement
+ {
+ private:
+ const std::pair<SlotName, SlotName> _s;
+
+ public:
+ UserSlotExactFullRequirement(const std::pair<SlotName, SlotName> &);
+
+ virtual const std::pair<SlotName, SlotName> slots() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::string as_string() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const std::shared_ptr<const SlotRequirement> maybe_original_requirement_if_rewritten() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
+
class PALUDIS_VISIBLE UserSlotExactPartialRequirement :
public SlotExactPartialRequirement
{