summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-03-20 19:52:53 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-03-20 19:52:53 +0100
commitdde0c674e423e5f06d1e319e3a096054607a5f72 (patch)
tree973331313888e2588ab15c8bab989bc79c3b5118 /apt-pkg/depcache.h
parent82b6682ac686fa07b02622aa4746b67eccb77e61 (diff)
reorganize the marker methods a bit by moving the common part to a
seperate IsModeChangeOk which checks sanity and dpkg holds
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index b95681118..8cf7db80a 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -486,6 +486,10 @@ class pkgDepCache : protected pkgCache::Namespace
__deprecated bool RemovePseudoInstalledPkg(PkgIterator &Pkg, std::set<unsigned long> &recheck) { return true; };
__deprecated bool ReInstallPseudoForGroup(unsigned long const &Grp, std::set<unsigned long> &recheck) { return true; };
__deprecated bool ReInstallPseudoForGroup(pkgCache::PkgIterator const &P, std::set<unsigned long> &recheck) { return true; };
+
+
+ bool IsModeChangeOk(ModeList const mode, PkgIterator const &Pkg,
+ unsigned long const Depth, bool const FromUser);
};
#endif