summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debindexfile.h
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@debian.org>2005-05-13 14:05:10 +0000
committerOtavio Salvador <otavio@debian.org>2005-05-13 14:05:10 +0000
commitc51c6f08ab15d09e1585ab7e680b53f87d654d6b (patch)
treeac18d1c25ec8daf8f72b7dea590165d233890d38 /apt-pkg/deb/debindexfile.h
parent8bd0670fc9f71add3441befc1894879cbbdeee1d (diff)
Add FindInCache method to skip the rebuild of cache every time.
Diffstat (limited to 'apt-pkg/deb/debindexfile.h')
-rw-r--r--apt-pkg/deb/debindexfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/debindexfile.h b/apt-pkg/deb/debindexfile.h
index 7bd7ea4f3..6d423318e 100644
--- a/apt-pkg/deb/debindexfile.h
+++ b/apt-pkg/deb/debindexfile.h
@@ -99,6 +99,7 @@ class debTranslationsIndex : public pkgIndexFile
virtual bool HasPackages() const {return true;};
virtual unsigned long Size() const;
virtual bool Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const;
+ virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const;
debTranslationsIndex(string URI,string Dist,string Section);
};