aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/constraint.hh
diff options
context:
space:
mode:
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 e1d4fa873..e7a97e472 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> &);