Skip to content

Commit

Permalink
Add back IPlugin::requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Aug 10, 2024
1 parent 3a64b4c commit 2d4ffb4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/uibase/iplugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::shared_ptr<const IPluginRequirement>> requirements() const
{
return {};
}

/**
* @return the list of configurable settings for this plugin (in the user interface).
* The list may be empty.
Expand Down

0 comments on commit 2d4ffb4

Please sign in to comment.