diff options
author | Otavio Salvador <otavio@debian.org> | 2005-03-23 21:01:54 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@debian.org> | 2005-03-23 21:01:54 +0000 |
commit | a52f938bcf7f31d348c6ce1d462a8ce14a38b8cc (patch) | |
tree | b287d522de4385886df155edb56d8b92fb69e440 /apt-pkg/indexfile.h | |
parent | 92c3292594a26f8ba248300dc91d8c855f008e13 (diff) |
Port DDTP to APT 0.6 branch
Diffstat (limited to 'apt-pkg/indexfile.h')
-rw-r--r-- | apt-pkg/indexfile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index be02669fa..d3a8f9917 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -5,10 +5,11 @@ Index File - Abstraction for an index of archive/source file. - There are 3 primary sorts of index files, all represented by this + There are 4 primary sorts of index files, all represented by this class: Binary index files + Binary translation files Bianry index files decribing the local system Source index files @@ -79,6 +80,10 @@ class pkgIndexFile virtual bool MergeFileProvides(pkgCacheGenerator &/*Gen*/,OpProgress &/*Prog*/) const {return true;}; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; + static bool UseTranslation(); + static bool CheckLanguageCode(const char *Lang); + static string LanguageCode(); + bool IsTrusted() const { return Trusted; }; pkgIndexFile(bool Trusted): Trusted(Trusted) {}; |