]> git.saurik.com Git - apt.git/commit - apt-private/private-install.cc
factor out Pkg/DepIterator prettyprinters into own header
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 28 Apr 2016 07:22:55 +0000 (09:22 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 28 Apr 2016 08:08:32 +0000 (10:08 +0200)
commit84573326f41dd09b914b8374548e7ee7c93d0439
tree3fc7af54e2322c0803495e3a79f69ab138c8f172
parent29636cc759c6fbb92c6c462c90611eefb67cbbd4
factor out Pkg/DepIterator prettyprinters into own header

The old prettyprinters have only access to the struct they pretty print,
which isn't enough usually as we want to know for a package also a bit
of state information like which version is the candidate.

We therefore need to pull the DepCache into context and hence use a
temporary struct which is printed instead of the iterator itself.
apt-pkg/algorithms.cc
apt-pkg/cacheiterators.h
apt-pkg/depcache.cc
apt-pkg/depcache.h
apt-pkg/packagemanager.cc
apt-pkg/pkgcache.cc
apt-pkg/prettyprinters.cc [new file with mode: 0644]
apt-pkg/prettyprinters.h [new file with mode: 0644]
apt-private/private-install.cc