aboutsummaryrefslogtreecommitdiff
path: root/paludis/user_dep_spec.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-03 18:22:25 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-04 19:23:09 +0100
commitd4ba35d4f1c5077a5da393b12a3a03e0d4fcbdb4 (patch)
treedd8e9913ac7d2a17a17a0b5e03d899416fff42da /paludis/user_dep_spec.hh
parent5a6f33463b1a396225696ba8c5ad7468fbea4e68 (diff)
downloadpaludis-d4ba35d4f1c5077a5da393b12a3a03e0d4fcbdb4.tar.gz
paludis-d4ba35d4f1c5077a5da393b12a3a03e0d4fcbdb4.tar.xz
Allow deciding upon an ID with changed choices
Diffstat (limited to 'paludis/user_dep_spec.hh')
-rw-r--r--paludis/user_dep_spec.hh9
1 files changed, 8 insertions, 1 deletions
diff --git a/paludis/user_dep_spec.hh b/paludis/user_dep_spec.hh
index 041e90d59..b95dd1414 100644
--- a/paludis/user_dep_spec.hh
+++ b/paludis/user_dep_spec.hh
@@ -78,9 +78,16 @@ namespace paludis
///\}
virtual const std::pair<bool, std::string> requirement_met(
- const Environment * const, const PackageID &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const Environment * const, const ChangedChoices *,
+ const PackageID &, const ChangedChoices * const) const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const std::string as_human_string() const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const std::string as_raw_string() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ virtual bool accumulate_changes_to_make_met(
+ const Environment * const,
+ const ChangedChoices * const,
+ const std::shared_ptr<const PackageID> &,
+ ChangedChoices &) const PALUDIS_ATTRIBUTE((warn_unused_result));
};
extern template class Pimp<UserKeyRequirement>;