diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-03-30 17:23:43 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-03-30 17:23:43 +0200 |
commit | 6d38011bb93451dd9da3294614d821c77ac91687 (patch) | |
tree | 4fd5c4c679ce39ff9599ed5e81c82c19c96185f4 /apt-pkg/depcache.h | |
parent | 92d956ea4d68789fa6d15702a4c2336039dcdb0f (diff) |
add a first round of stuff needed for talking between APT and solvers
based on a very early draft for EDSP by Stefano
APT can now write a scenario as well as load most stuff from it.
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r-- | apt-pkg/depcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index 750da3d6f..b15cd527d 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -258,7 +258,9 @@ class pkgDepCache : protected pkgCache::Namespace virtual VerIterator GetCandidateVer(PkgIterator const &Pkg); virtual bool IsImportantDep(DepIterator const &Dep); - + virtual signed short GetPriority(PkgIterator const &Pkg); + virtual signed short GetPriority(PkgFileIterator const &File); + virtual ~Policy() {}; }; |