aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/constraint.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-07 22:20:31 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-07 22:20:31 +0100
commit1f846d5ab7afac54766e5f744eee27edf05d5135 (patch)
tree65dc2071bf26ea6d64975d0e1ae5ce67ca62e3bd /paludis/resolver/constraint.hh
parent3b2d7e83d8735916d89a9bd61bdf9c92d77f016e (diff)
downloadpaludis-1f846d5ab7afac54766e5f744eee27edf05d5135.tar.gz
paludis-1f846d5ab7afac54766e5f744eee27edf05d5135.tar.xz
let constraints be negated
Diffstat (limited to 'paludis/resolver/constraint.hh')
-rw-r--r--paludis/resolver/constraint.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/paludis/resolver/constraint.hh b/paludis/resolver/constraint.hh
index 97f8b16..be95f4e 100644
--- a/paludis/resolver/constraint.hh
+++ b/paludis/resolver/constraint.hh
@@ -31,8 +31,9 @@ namespace paludis
{
namespace n
{
+ struct base_spec;
+ struct is_blocker;
struct reason;
- struct spec;
struct to_destination_slash;
struct use_installed;
}
@@ -41,8 +42,9 @@ namespace paludis
{
struct Constraint
{
+ NamedValue<n::base_spec, PackageDepSpec> base_spec;
+ NamedValue<n::is_blocker, bool> is_blocker;
NamedValue<n::reason, std::tr1::shared_ptr<const Reason> > reason;
- NamedValue<n::spec, PackageDepSpec> spec;
NamedValue<n::to_destination_slash, bool> to_destination_slash;
NamedValue<n::use_installed, UseInstalled> use_installed;
};