summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:57 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:57 +0000
commita246f2dc8c6084d857edb2792ce6b37c794e3d69 (patch)
tree9267d681bcb02b7cd5bd0342f5d86476899f80cb /apt-pkg/depcache.h
parent8ce4327bc0d3f2695b936391c856cc80de6c0d83 (diff)
downloadapt-a246f2dc8c6084d857edb2792ce6b37c794e3d69.tar.gz
Sync
Author: jgg Date: 1998-09-07 05:28:32 GMT Sync
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 6cb8c1187..8d90a529f 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: depcache.h,v 1.3 1998/07/12 23:58:25 jgg Exp $
+// $Id: depcache.h,v 1.4 1998/09/07 05:28:35 jgg Exp $
/* ######################################################################
DepCache - Dependency Extension data for the cache
@@ -44,6 +44,7 @@
#endif
#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/progress.h>
class pkgDepCache : public pkgCache
{
@@ -109,7 +110,7 @@ class pkgDepCache : public pkgCache
void BuildGroupOrs(VerIterator const &V);
void UpdateVerState(PkgIterator Pkg);
- bool Init();
+ bool Init(OpProgress *Prog);
protected:
@@ -165,11 +166,8 @@ class pkgDepCache : public pkgCache
void MarkInstall(PkgIterator const &Pkg,bool AutoInst = true);
// This is for debuging
- void Update();
+ void Update(OpProgress *Prog = 0);
- // Hook to keep the extra data in sync
- virtual bool ReMap();
-
// Size queries
inline long UsrSize() {return iUsrSize;};
inline long DebSize() {return iDownloadSize;};
@@ -179,7 +177,7 @@ class pkgDepCache : public pkgCache
inline long BrokenCount() {return iBrokenCount;};
inline long BadCount() {return iBadCount;};
- pkgDepCache(MMap &Map);
+ pkgDepCache(MMap &Map,OpProgress &Prog);
virtual ~pkgDepCache();
};