From b518cca6bd64abeba1fb84e9363798e5e063469a Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:50:43 +0000 Subject: Sync Author: jgg Date: 1998-07-12 01:25:59 GMT Sync --- apt-pkg/cacheiterators.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apt-pkg/cacheiterators.h') diff --git a/apt-pkg/cacheiterators.h b/apt-pkg/cacheiterators.h index f234526db..d382e4b98 100644 --- a/apt-pkg/cacheiterators.h +++ b/apt-pkg/cacheiterators.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: cacheiterators.h,v 1.4 1998/07/07 04:17:00 jgg Exp $ +// $Id: cacheiterators.h,v 1.5 1998/07/12 01:26:00 jgg Exp $ /* ###################################################################### Cache Iterators - Iterators for navigating the cache structure @@ -125,6 +125,7 @@ class pkgCache::VerIterator inline PrvIterator ProvidesList() const; inline VerFileIterator FileList() const; inline unsigned long Index() const {return Ver - Owner.VerP;}; + bool Downloadable() const; inline VerIterator(pkgCache &Owner,Version *Trg = 0) : Ver(Trg), Owner(Owner) { @@ -300,7 +301,7 @@ class pkgCache::VerFileIterator inline PkgFileIterator File() const {return PkgFileIterator(*Owner,FileP->File + Owner->PkgFileP);}; inline unsigned long Index() const {return FileP - Owner->VerFileP;}; - + inline VerFileIterator(pkgCache &Owner,VerFile *Trg) : Owner(&Owner), FileP(Trg) {}; }; -- cgit v1.2.3