X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/8bd0670fc9f71add3441befc1894879cbbdeee1d..1f31762e69fd52fc67306d4b8af98c4e4519e2e4:/apt-pkg/indexfile.h?ds=sidebyside diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index d3a8f9917..3cc501629 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -22,9 +22,6 @@ #ifndef PKGLIB_INDEXFILE_H #define PKGLIB_INDEXFILE_H -#ifdef __GNUG__ -#pragma interface "apt-pkg/indexfile.h" -#endif #include #include @@ -56,6 +53,7 @@ class pkgIndexFile virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator /*File*/) const {return 0;}; Type(); + virtual ~Type() {}; }; virtual const Type *GetType() const = 0; @@ -80,7 +78,7 @@ class pkgIndexFile virtual bool MergeFileProvides(pkgCacheGenerator &/*Gen*/,OpProgress &/*Prog*/) const {return true;}; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; - static bool UseTranslation(); + static bool TranslationsAvailable(); static bool CheckLanguageCode(const char *Lang); static string LanguageCode();