diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-12 21:23:35 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-12 21:23:35 +0100 |
| commit | 56dcdd33a2110a8c5ad13cc9401ce87fb3d7bf80 (patch) | |
| tree | 897b7c56ed02540d0a606681b4b967d33a553f5f /src/plugincontainer.h | |
| parent | 15059907c9bd0061f502c64457fce20c7e60a07f (diff) | |
It's 2020.
Diffstat (limited to 'src/plugincontainer.h')
| -rw-r--r-- | src/plugincontainer.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/plugincontainer.h b/src/plugincontainer.h index 89ab5528..ac40e413 100644 --- a/src/plugincontainer.h +++ b/src/plugincontainer.h @@ -331,6 +331,20 @@ private: friend class PluginRequirements;
+
+ /**
+ * @brief Retrieved the (localized) names of interfaces implemented by the given
+ * plugin.
+ *
+ * @param plugin The plugin to retrieve interface for.
+ *
+ * @return the (localized) names of interfaces implemented by this plugin.
+ *
+ * @note This function can be used to get implemented interfaces before registering
+ * a plugin.
+ */
+ QStringList implementedInterfaces(QObject* plugin) const;
+
/**
* @brief Check if a plugin implements a "better" interface than another
* one, as specified by PluginTypeOrder.
|
