X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/76b580bed96aaf0174ca81ba8ed2c4b54226ad85..f903069c139df58d1ba855f7cf02c4a2d4e51dc3:/apt-pkg/metaindex.h?ds=sidebyside diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index 94aec2d1f..3a624e86d 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -35,7 +35,7 @@ public: HashStringList Hashes; unsigned long long Size; - APT_DEPRECATED HashString Hash; + APT_DEPRECATED_MSG("Use the HashStringList member Hashes instead of a hardcoded HashString") HashString Hash; }; APT_IGNORE_DEPRECATED_POP @@ -107,6 +107,10 @@ public: metaIndex(std::string const &URI, std::string const &Dist, char const * const Type); virtual ~metaIndex(); + + // FIXME: make virtual on next abi break + bool IsArchitectureSupported(std::string const &arch) const; + bool IsArchitectureAllSupportedFor(IndexTarget const &target) const; }; #endif