aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/constraint.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-05 10:58:37 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-05 13:06:40 +0100
commit388ffabd070db3c41be152980fe2bec09cd39512 (patch)
tree34ca2f6db7bf1818d92032df0b88f3c628254036 /paludis/resolver/constraint.hh
parentf0b3612deba75050ce4ffee7d66488f544f48547 (diff)
downloadpaludis-388ffabd070db3c41be152980fe2bec09cd39512.tar.gz
paludis-388ffabd070db3c41be152980fe2bec09cd39512.tar.xz
Constraint::force_unable
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 e1d4fa8..e7a97e4 100644
--- a/paludis/resolver/constraint.hh
+++ b/paludis/resolver/constraint.hh
@@ -36,6 +36,7 @@ namespace paludis
namespace n
{
typedef Name<struct destination_type_name> destination_type;
+ typedef Name<struct force_unable_name> force_unable;
typedef Name<struct nothing_is_fine_too_name> nothing_is_fine_too;
typedef Name<struct reason_name> reason;
typedef Name<struct spec_name> spec;
@@ -48,6 +49,7 @@ namespace paludis
struct Constraint
{
NamedValue<n::destination_type, DestinationType> destination_type;
+ NamedValue<n::force_unable, bool> force_unable;
NamedValue<n::nothing_is_fine_too, bool> nothing_is_fine_too;
NamedValue<n::reason, std::shared_ptr<const Reason> > reason;
NamedValue<n::spec, PackageOrBlockDepSpec> spec;
@@ -69,6 +71,7 @@ namespace paludis
bool nothing_is_fine_too() const PALUDIS_ATTRIBUTE((warn_unused_result));
bool all_untaken() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool any_force_unable() const PALUDIS_ATTRIBUTE((warn_unused_result));
UseExisting strictest_use_existing() const PALUDIS_ATTRIBUTE((warn_unused_result));
void add(const std::shared_ptr<const Constraint> &);