aboutsummaryrefslogtreecommitdiff
path: root/paludis/environment.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environment.hh')
-rw-r--r--paludis/environment.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/paludis/environment.hh b/paludis/environment.hh
index 141bd1fd8..74f908643 100644
--- a/paludis/environment.hh
+++ b/paludis/environment.hh
@@ -147,6 +147,24 @@ namespace paludis
///\}
+ ///\name Suggestion-related queries
+ ///\{
+
+ /**
+ * Do we want to ignore or take a particular suggestion from a
+ * particular package?
+ *
+ * Command line things override this.
+ *
+ * \since 0.58
+ */
+ virtual Tribool interest_in_suggestion(
+ const std::shared_ptr<const PackageID> & from_id,
+ const PackageDepSpec & spec) const
+ PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
+
+ ///\}
+
///\name Mask-related queries
///\{