X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6c139d6e362f04a1582e8a8f511f8aeab031fecf..ad00ae81eb9e1f5384f8fe32879d483c72bbdace:/apt-pkg/pkgcachegen.h diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index c883828eb..a2eab8d43 100644 --- a/apt-pkg/pkgcachegen.h +++ b/apt-pkg/pkgcachegen.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgcachegen.h,v 1.4 1998/07/07 04:17:05 jgg Exp $ +// $Id: pkgcachegen.h,v 1.6 1998/07/19 04:22:03 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -14,10 +14,10 @@ #define PKGLIB_PKGCACHEGEN_H #ifdef __GNUG__ -#pragma interface "pkglib/pkgcachegen.h" +#pragma interface "apt-pkg/pkgcachegen.h" #endif -#include +#include class pkgCacheGenerator { @@ -69,7 +69,7 @@ class pkgCacheGenerator pkgCache::VerIterator Ver) = 0; virtual unsigned long Offset() = 0; virtual unsigned long Size() = 0; - + virtual bool Step() = 0; virtual ~ListParser() {}; @@ -78,7 +78,8 @@ class pkgCacheGenerator bool SelectFile(string File,unsigned long Flags = 0); bool MergeList(ListParser &List); - + inline pkgCache &GetCache() {return Cache;}; + pkgCacheGenerator(DynamicMMap &Map); ~pkgCacheGenerator(); };