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.