diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:53 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:53 +0000 |
commit | 404ec98e5186c844003dee15e15bc96460cc27a5 (patch) | |
tree | ebff8ce1af4234d13f8af5aa021db7cbfe56dc4b /apt-pkg/pkgcachegen.h | |
parent | 6fc33863f31051a5fc2726a236ce8b64d33bc964 (diff) |
Generic progress meter
Author: jgg
Date: 1998-07-21 05:33:18 GMT
Generic progress meter
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
-rw-r--r-- | apt-pkg/pkgcachegen.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index 7a8f95d65..ff397bfac 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.7 1998/07/19 21:24:14 jgg Exp $ +// $Id: pkgcachegen.h,v 1.8 1998/07/21 05:33:20 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -25,6 +25,7 @@ #endif #include <apt-pkg/pkgcache.h> +#include <apt-pkg/progress.h> class pkgCacheGenerator { @@ -36,7 +37,8 @@ class pkgCacheGenerator DynamicMMap ⤅ pkgCache Cache; - + OpProgress &Progress; + string PkgFileName; pkgCache::PackageFile *CurrentFile; @@ -87,7 +89,7 @@ class pkgCacheGenerator bool MergeList(ListParser &List); inline pkgCache &GetCache() {return Cache;}; - pkgCacheGenerator(DynamicMMap &Map); + pkgCacheGenerator(DynamicMMap &Map,OpProgress &Progress); ~pkgCacheGenerator(); }; |