diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-11 19:14:51 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-11 19:14:51 +0200 |
commit | 79f24b42cfa60fa79a427c5e37a01de303543a4b (patch) | |
tree | 3a1de45fb9b37f2e6ba71948c3c8028093f812b2 /apt-pkg/indexfile.h | |
parent | 2ae2e04d97028b558bfe954e55a80513e0202889 (diff) | |
parent | fb603534bf69ae4b01f5abda4e42814450e59a31 (diff) |
* merged ddtp support
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 61049f4bd..d5d1cf57a 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 @@ -80,6 +81,10 @@ class pkgIndexFile virtual bool MergeFileProvides(pkgCacheGenerator &/*Gen*/,OpProgress &/*Prog*/) const {return true;}; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; + static bool TranslationsAvailable(); + static bool CheckLanguageCode(const char *Lang); + static string LanguageCode(); + bool IsTrusted() const { return Trusted; }; pkgIndexFile(bool Trusted): Trusted(Trusted) {}; |