X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8bd0670fc9f71add3441befc1894879cbbdeee1d..480ecc8bfe493a669b5076a350ac0300f04c7b6a:/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) {};