diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-23 20:17:19 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-23 20:17:19 +0200 |
commit | 3b8d17737d840f48a60f1d4d1af3c285047ad61e (patch) | |
tree | d2906fbd197d113ed3c54444111ec8bf85bb41f8 /apt-pkg/orderlist.h | |
parent | 9120d409efc74891d008a7cfc5180c1ac8645c8c (diff) |
print from their the visit came from
Diffstat (limited to 'apt-pkg/orderlist.h')
-rw-r--r-- | apt-pkg/orderlist.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/orderlist.h b/apt-pkg/orderlist.h index bbceb3879..264f7ba03 100644 --- a/apt-pkg/orderlist.h +++ b/apt-pkg/orderlist.h @@ -18,6 +18,7 @@ #include <apt-pkg/pkgcache.h> +#include <apt-pkg/macros.h> class pkgDepCache; class pkgOrderList : protected pkgCache::Namespace @@ -45,7 +46,8 @@ class pkgOrderList : protected pkgCache::Namespace bool Debug; // Main visit function - bool VisitNode(PkgIterator Pkg); + __deprecated bool VisitNode(PkgIterator Pkg) { return VisitNode(Pkg, "UNKNOWN"); }; + bool VisitNode(PkgIterator Pkg, char const* from); bool VisitDeps(DepFunc F,PkgIterator Pkg); bool VisitRDeps(DepFunc F,PkgIterator Pkg); bool VisitRProvides(DepFunc F,VerIterator Ver); |