aboutsummaryrefslogtreecommitdiff
path: root/paludis/dep_atom.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/dep_atom.hh')
-rw-r--r--paludis/dep_atom.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/paludis/dep_atom.hh b/paludis/dep_atom.hh
index 431d1c8..eadae34 100644
--- a/paludis/dep_atom.hh
+++ b/paludis/dep_atom.hh
@@ -335,6 +335,8 @@ namespace paludis
UseRequirements::Pointer _use_requirements;
DepTag::ConstPointer _tag;
+ const PackageDepAtom & operator= (const PackageDepAtom &);
+
public:
///\name Basic operations
///\{
@@ -375,6 +377,14 @@ namespace paludis
}
/**
+ * Fetch the version requirements (may be a zero pointer).
+ */
+ VersionRequirements::Pointer version_requirements_ptr()
+ {
+ return _version_requirements;
+ }
+
+ /**
* Fetch the version requirements mode.
*/
VersionRequirementsMode version_requirements_mode() const
@@ -383,6 +393,14 @@ namespace paludis
}
/**
+ * Set the version requirements mode.
+ */
+ void set_version_requirements_mode(const VersionRequirementsMode m)
+ {
+ _version_requirements_mode = m;
+ }
+
+ /**
* Fetch the slot name (may be a zero pointer).
*/
CountedPtr<SlotName, count_policy::ExternalCountTag> slot_ptr() const