aboutsummaryrefslogtreecommitdiff
path: root/paludis/elike_slot_requirement.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/elike_slot_requirement.hh')
-rw-r--r--paludis/elike_slot_requirement.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/paludis/elike_slot_requirement.hh b/paludis/elike_slot_requirement.hh
index bdc4f7b9f..a447ecb63 100644
--- a/paludis/elike_slot_requirement.hh
+++ b/paludis/elike_slot_requirement.hh
@@ -85,6 +85,20 @@ namespace paludis
virtual const std::shared_ptr<const SlotRequirement> maybe_original_requirement_if_rewritten() const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const SlotName slot() const PALUDIS_ATTRIBUTE((warn_unused_result));
};
+
+ class PALUDIS_VISIBLE ELikeSlotUnknownRewrittenRequirement :
+ public SlotUnknownRewrittenRequirement
+ {
+ private:
+ const SlotName _s;
+
+ public:
+ ELikeSlotUnknownRewrittenRequirement(const SlotName &);
+
+ virtual const std::string as_string() const PALUDIS_ATTRIBUTE((noreturn));
+ virtual const std::shared_ptr<const SlotRequirement> maybe_original_requirement_if_rewritten() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual const SlotName slot() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
}
#endif