X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/54debba5d21783160e78706f6c21b274ca4b805b..b1a8717ae8e07101cfae03b978d57b793884a3d9:/apt-pkg/indexfile.h diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index d3a8f9917..61049f4bd 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -5,11 +5,10 @@ Index File - Abstraction for an index of archive/source file. - There are 4 primary sorts of index files, all represented by this + There are 3 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 @@ -56,6 +55,7 @@ class pkgIndexFile virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator /*File*/) const {return 0;}; Type(); + virtual ~Type() {}; }; virtual const Type *GetType() const = 0; @@ -80,10 +80,6 @@ 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) {};