summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgsystem.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-09-15 14:12:19 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-11-04 18:04:00 +0100
commit825db89094a8413dcc9c8ef3abe0a45b0bb7a2e2 (patch)
treea6dc406c7f2a479faf7b7f3647e5c8bdc4b12b10 /apt-pkg/pkgsystem.h
parent8d6d3f00b14217e69ecabd68379b1e29bf4a3ccd (diff)
implement a public pkgSystem::ArchitecturesSupported
Diffstat (limited to 'apt-pkg/pkgsystem.h')
-rw-r--r--apt-pkg/pkgsystem.h9
1 files changed, 9 insertions, 0 deletions
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<std::string> ArchitecturesSupported() const;
pkgSystem(char const * const Label, pkgVersioningSystem * const VS);
virtual ~pkgSystem();