summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-15 11:52:50 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-15 11:54:08 +0200
commita0a6695515f8d8d7db3f52751d4d14f8266c286c (patch)
tree5d104d38a5af7abf75ebe1e5b4dedbd66859598d /apt-pkg/depcache.h
parent91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 (diff)
Add GetPriority(VerIterator) to pkgDepCache::Policy
Also unify the case of considerFiles and ConsiderFiles to be ConsiderFiles in all cases. Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 6a1d6f8b3..ba997c8a6 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -281,6 +281,7 @@ class pkgDepCache : protected pkgCache::Namespace
virtual VerIterator GetCandidateVer(PkgIterator const &Pkg);
virtual bool IsImportantDep(DepIterator const &Dep) const;
virtual signed short GetPriority(PkgIterator const &Pkg);
+ virtual signed short GetPriority(VerIterator const &Ver, bool ConsiderFiles=true);
virtual signed short GetPriority(PkgFileIterator const &File);
virtual ~Policy() {};