aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/labels_classifier-fwd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/labels_classifier-fwd.hh')
-rw-r--r--paludis/resolver/labels_classifier-fwd.hh43
1 files changed, 36 insertions, 7 deletions
diff --git a/paludis/resolver/labels_classifier-fwd.hh b/paludis/resolver/labels_classifier-fwd.hh
index 198ad5a30..794d58c4b 100644
--- a/paludis/resolver/labels_classifier-fwd.hh
+++ b/paludis/resolver/labels_classifier-fwd.hh
@@ -22,6 +22,9 @@
#include <paludis/util/attributes.hh>
#include <paludis/resolver/sanitised_dependencies-fwd.hh>
+#include <paludis/environment-fwd.hh>
+#include <paludis/package_id-fwd.hh>
+#include <memory>
namespace paludis
{
@@ -29,14 +32,40 @@ namespace paludis
{
struct LabelsClassifier;
- bool is_suggestion(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_recommendation(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suggestion(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_just_build_dep(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_just_fetch_dep(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_run_or_post_dep(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_compiled_against_dep(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
- bool is_enabled_dep(const SanitisedDependency & dep) PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_recommendation(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool is_just_build_dep(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool is_just_fetch_dep(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool is_run_or_post_dep(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool is_compiled_against_dep(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool is_enabled_dep(
+ const Environment * const,
+ const std::shared_ptr<const PackageID> &,
+ const SanitisedDependency &) PALUDIS_ATTRIBUTE((warn_unused_result));
}
}