aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/prefer_or_avoid_helper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/prefer_or_avoid_helper.hh')
-rw-r--r--paludis/resolver/prefer_or_avoid_helper.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/paludis/resolver/prefer_or_avoid_helper.hh b/paludis/resolver/prefer_or_avoid_helper.hh
index d2e2bb6f1..7d1c6ea13 100644
--- a/paludis/resolver/prefer_or_avoid_helper.hh
+++ b/paludis/resolver/prefer_or_avoid_helper.hh
@@ -27,6 +27,8 @@
#include <paludis/util/tribool-fwd.hh>
#include <paludis/name-fwd.hh>
#include <paludis/environment-fwd.hh>
+#include <paludis/package_id-fwd.hh>
+#include <paludis/dep_spec-fwd.hh>
#include <memory>
namespace paludis
@@ -45,7 +47,10 @@ namespace paludis
void add_prefer_name(const QualifiedPackageName &);
void add_avoid_name(const QualifiedPackageName &);
- Tribool operator() (const QualifiedPackageName &) const;
+ void add_prefer_matching(const std::shared_ptr<const PackageIDSequence> &);
+ void add_avoid_matching(const std::shared_ptr<const PackageIDSequence> &);
+
+ Tribool operator() (const PackageDepSpec &) const;
};
}