X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/76b580bed96aaf0174ca81ba8ed2c4b54226ad85..503c7d594125f963b92047ad2d9d0644f39136c7:/apt-pkg/metaindex.h?ds=inline 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