aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/constraint.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-11 22:19:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-12 01:26:02 +0100
commit50dfa914e9247cbdbd5fa814f3cf8c2bfab01503 (patch)
treedd4ca6d183eb27ba1b69ef795f27034ed8ef175f /paludis/resolver/constraint.hh
parentd7a61b8159897493072273e0705eb5d0b7ae406b (diff)
downloadpaludis-50dfa914e9247cbdbd5fa814f3cf8c2bfab01503.tar.gz
paludis-50dfa914e9247cbdbd5fa814f3cf8c2bfab01503.tar.xz
Suggestions
Diffstat (limited to 'paludis/resolver/constraint.hh')
-rw-r--r--paludis/resolver/constraint.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/resolver/constraint.hh b/paludis/resolver/constraint.hh
index f244dd0..f7fe15e 100644
--- a/paludis/resolver/constraint.hh
+++ b/paludis/resolver/constraint.hh
@@ -39,6 +39,7 @@ namespace paludis
struct reason;
struct spec;
struct to_destinations;
+ struct untaken;
struct use_installed;
}
@@ -50,6 +51,7 @@ namespace paludis
NamedValue<n::reason, std::tr1::shared_ptr<const Reason> > reason;
NamedValue<n::spec, PackageOrBlockDepSpec> spec;
NamedValue<n::to_destinations, DestinationTypes> to_destinations;
+ NamedValue<n::untaken, bool> untaken;
NamedValue<n::use_installed, UseInstalled> use_installed;
void serialise(Serialiser &) const;
@@ -67,6 +69,7 @@ namespace paludis
UseInstalled strictest_use_installed() const PALUDIS_ATTRIBUTE((warn_unused_result));
bool nothing_is_fine_too() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool all_untaken() const PALUDIS_ATTRIBUTE((warn_unused_result));
const DestinationTypes to_destinations() const PALUDIS_ATTRIBUTE((warn_unused_result));
void add(const std::tr1::shared_ptr<const Constraint> &);