From 2d4ffb47e796572b0f5c1d059026816c732c951e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sat, 10 Aug 2024 15:36:02 +0200 Subject: [PATCH] Add back IPlugin::requirements. --- include/uibase/iplugin.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/uibase/iplugin.h b/include/uibase/iplugin.h index 5f8b0cb5..0e5a3802 100644 --- a/include/uibase/iplugin.h +++ b/include/uibase/iplugin.h @@ -85,6 +85,18 @@ class IPlugin */ virtual QString localizedName() const { return name(); } + /** + * @brief Retrieve the requirements for the plugins. + * + * This method is called right after init(). + * + * @return the requirements for this plugin. + */ + virtual std::vector> requirements() const + { + return {}; + } + /** * @return the list of configurable settings for this plugin (in the user interface). * The list may be empty.