aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-16 22:57:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-16 23:19:51 +0000
commit4f87fd12f82fb6f7b92651cc88e673b50d5ec836 (patch)
tree6cdba96828abbf982e8dbc9fe0cb26145f75f1ec /paludis/environments/paludis
parent48b71ce3fdfa8ecfe304c942f690ca2036720028 (diff)
downloadpaludis-4f87fd12f82fb6f7b92651cc88e673b50d5ec836.tar.gz
paludis-4f87fd12f82fb6f7b92651cc88e673b50d5ec836.tar.xz
Environment::interest_in_suggestion
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/paludis_environment.cc8
-rw-r--r--paludis/environments/paludis/paludis_environment.hh4
2 files changed, 12 insertions, 0 deletions
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index 4f57adeea..2e76cc873 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -496,6 +496,14 @@ PaludisEnvironment::known_choice_value_names(
return _imp->config->use_conf()->known_choice_value_names(id, choice);
}
+Tribool
+PaludisEnvironment::interest_in_suggestion(
+ const std::shared_ptr<const PackageID> &,
+ const PackageDepSpec &) const
+{
+ return indeterminate;
+}
+
const std::shared_ptr<OutputManager>
PaludisEnvironment::create_output_manager(const CreateOutputManagerInfo & i) const
{
diff --git a/paludis/environments/paludis/paludis_environment.hh b/paludis/environments/paludis/paludis_environment.hh
index 84c8e2503..acda2d224 100644
--- a/paludis/environments/paludis/paludis_environment.hh
+++ b/paludis/environments/paludis/paludis_environment.hh
@@ -164,6 +164,10 @@ namespace paludis
) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual Tribool interest_in_suggestion(
+ const std::shared_ptr<const PackageID> & from_id,
+ const PackageDepSpec & spec) const;
+
virtual const std::shared_ptr<OutputManager> create_output_manager(
const CreateOutputManagerInfo &) const;