X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d958636fdf39d8b1f08239f9981c8b6520bde7a6..1a0619ac765cc0b2f4906c96c1a4d7f510569a3f:/apt-pkg/metaindex.h diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index 147154227..ffabaadbf 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -1,12 +1,19 @@ #ifndef PKGLIB_METAINDEX_H #define PKGLIB_METAINDEX_H - -#include -#include #include #include +#include + +#include +#include + +#ifndef APT_10_CLEANER_HEADERS +#include +class pkgCacheGenerator; +class OpProgress; +#endif #ifndef APT_8_CLEANER_HEADERS #include #include @@ -15,8 +22,6 @@ using std::string; #endif class pkgAcquire; -class pkgCacheGenerator; -class OpProgress; class metaIndex { @@ -36,10 +41,6 @@ class metaIndex // interface to to query it #if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13) - virtual std::string MetaIndexInfo(const char *Type) const {return "";}; - virtual std::string MetaIndexFile(const char *Types) const {return "";}; - virtual std::string MetaIndexURI(const char *Type) const {return "";}; - // returns the path of the local file (or "" if its not available) virtual std::string LocalFileName() const {return "";}; #endif