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
virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator /*File*/) const {return 0;};
Type();
+ virtual ~Type() {};
};
virtual const Type *GetType() const = 0;
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) {};