diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-13 18:00:22 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-13 18:00:22 +0200 |
commit | afd7b358f94efddb83a2911ec1a21e7280074b1e (patch) | |
tree | faa658f29d7dff42c6ed475037dd462384eab46e /apt-pkg/orderlist.h | |
parent | 74b220028595342028e3309002e4ec359af328f9 (diff) | |
parent | 4e9108b8238438f1c390cb9ea9de598de1b7d7cb (diff) |
merge with debian/sid
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); |