diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-07 09:52:46 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-06-07 09:52:46 +0200 |
commit | 89b70b5a5c80b15d928b6593604bacc02a1b9a51 (patch) | |
tree | abdfe8b4ac425748ac44cda8e675ca5496042082 /apt-pkg/cachefile.h | |
parent | d4c5f11f8ef619ec56ae1e532416bb3817442b1c (diff) | |
download | apt-89b70b5a5c80b15d928b6593604bacc02a1b9a51.tar.gz |
* apt-pkg/cachefile, cmdline/apt-get.cc:
- move the code that does the work from apt-get.cc to pkgCacheFile::ListUpdate()
Diffstat (limited to 'apt-pkg/cachefile.h')
-rw-r--r-- | apt-pkg/cachefile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h index a128c29ab..366e3576f 100644 --- a/apt-pkg/cachefile.h +++ b/apt-pkg/cachefile.h @@ -22,6 +22,8 @@ #endif #include <apt-pkg/depcache.h> +#include <apt-pkg/acquire.h> +#include <apt-pkg/sourcelist.h> class pkgPolicy; class pkgCacheFile @@ -48,6 +50,7 @@ class pkgCacheFile bool BuildCaches(OpProgress &Progress,bool WithLock = true); bool Open(OpProgress &Progress,bool WithLock = true); + bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List); void Close(); pkgCacheFile(); |