From 825db89094a8413dcc9c8ef3abe0a45b0bb7a2e2 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 15 Sep 2015 14:12:19 +0200 Subject: implement a public pkgSystem::ArchitecturesSupported --- apt-pkg/pkgsystem.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apt-pkg/pkgsystem.h') diff --git a/apt-pkg/pkgsystem.h b/apt-pkg/pkgsystem.h index c7de63c87..55bdeec70 100644 --- a/apt-pkg/pkgsystem.h +++ b/apt-pkg/pkgsystem.h @@ -104,6 +104,15 @@ class pkgSystem * @return \b true if the system supports MultiArch, \b false if not. */ bool MultiArchSupported() const; + /** architectures supported by this system + * + * A MultiArch capable system might be configured to use + * this capability. + * + * @return a list of all architectures (native + foreign) configured + * for on this system (aka: which can be installed without force) + */ + std::vector ArchitecturesSupported() const; pkgSystem(char const * const Label, pkgVersioningSystem * const VS); virtual ~pkgSystem(); -- cgit v1.2.3