aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/decider.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-07 17:20:13 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-03-07 17:20:13 +0000
commitdcdf18dbadfd9ab32a0b44173650ad877b1f2185 (patch)
tree0fe90476feba55f6aa41b1904a76b5ca92801a9b /paludis/resolver/decider.hh
parent0ba6a2c2db1edbb785f493d2314b11084c8da858 (diff)
downloadpaludis-dcdf18dbadfd9ab32a0b44173650ad877b1f2185.tar.gz
paludis-dcdf18dbadfd9ab32a0b44173650ad877b1f2185.tar.xz
Crude dependent tracking
Diffstat (limited to 'paludis/resolver/decider.hh')
-rw-r--r--paludis/resolver/decider.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/paludis/resolver/decider.hh b/paludis/resolver/decider.hh
index 872b29300..f19cfcc70 100644
--- a/paludis/resolver/decider.hh
+++ b/paludis/resolver/decider.hh
@@ -123,6 +123,7 @@ namespace paludis
const ChangesToMakeDecision &) const;
void _resolve_decide_with_dependencies();
+ void _resolve_dependents();
void _resolve_destinations();
const std::tr1::shared_ptr<Destination> _make_destination_for(
@@ -190,6 +191,18 @@ namespace paludis
bool _allowed_to_remove(const std::tr1::shared_ptr<const PackageID> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::pair<
+ std::tr1::shared_ptr<const PackageIDSequence>,
+ std::tr1::shared_ptr<const PackageIDSequence> > _collect_changing() const PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::tr1::shared_ptr<const PackageIDSequence> _collect_staying(
+ const std::tr1::shared_ptr<const PackageIDSequence> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ bool _dependent(
+ const std::tr1::shared_ptr<const PackageID> &,
+ const std::tr1::shared_ptr<const PackageIDSequence> &,
+ const std::tr1::shared_ptr<const PackageIDSequence> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+
public:
Decider(const Environment * const,
const ResolverFunctions &,