aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_dep_spec_constraint.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-30 11:37:31 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit28626b8aa3b39d400f8f9eb3a0730ac101b2e53a (patch)
treec60cfb02dcee2efcf7045ccfd53316e5a8fe94a8 /paludis/package_dep_spec_constraint.cc
parenta004eeed5dda3432dcb1a4c0a865ae24daae4fd3 (diff)
downloadpaludis-28626b8aa3b39d400f8f9eb3a0730ac101b2e53a.tar.gz
paludis-28626b8aa3b39d400f8f9eb3a0730ac101b2e53a.tar.xz
slot to requirements
Diffstat (limited to 'paludis/package_dep_spec_constraint.cc')
-rw-r--r--paludis/package_dep_spec_constraint.cc41
1 files changed, 41 insertions, 0 deletions
diff --git a/paludis/package_dep_spec_constraint.cc b/paludis/package_dep_spec_constraint.cc
index dc1f4ad65..b1e6b96c9 100644
--- a/paludis/package_dep_spec_constraint.cc
+++ b/paludis/package_dep_spec_constraint.cc
@@ -184,3 +184,44 @@ template class Singleton<Pool<InstallableToRepositoryConstraint> >;
template const std::shared_ptr<const InstallableToRepositoryConstraint> Pool<InstallableToRepositoryConstraint>::create(
const RepositoryName &, const bool & ...) const;
+ExactSlotConstraint::ExactSlotConstraint(const SlotName & n, const bool i) :
+ _name(n),
+ _locked(i)
+{
+}
+
+ExactSlotConstraint::~ExactSlotConstraint() = default;
+
+const SlotName
+ExactSlotConstraint::name() const
+{
+ return _name;
+}
+
+bool
+ExactSlotConstraint::locked() const
+{
+ return _locked;
+}
+
+template class Pool<ExactSlotConstraint>;
+template class Singleton<Pool<ExactSlotConstraint> >;
+template const std::shared_ptr<const ExactSlotConstraint> Pool<ExactSlotConstraint>::create(const SlotName &, const bool & ...) const;
+
+AnySlotConstraint::AnySlotConstraint(const bool i) :
+ _locking(i)
+{
+}
+
+AnySlotConstraint::~AnySlotConstraint() = default;
+
+bool
+AnySlotConstraint::locking() const
+{
+ return _locking;
+}
+
+template class Pool<AnySlotConstraint>;
+template class Singleton<Pool<AnySlotConstraint> >;
+template const std::shared_ptr<const AnySlotConstraint> Pool<AnySlotConstraint>::create(const bool &) const;
+