Add medium plugin methods to PluginInterface

This commit is contained in:
Oliver Hamlet
2024-06-28 19:21:00 +01:00
parent 2c81b30352
commit 46c19a4a7a
5 changed files with 70 additions and 0 deletions
+13
View File
@@ -99,6 +99,12 @@ public:
*/
virtual bool IsLightPlugin() const = 0;
/**
* Check if the plugin is a medium plugin.
* @return True if plugin is a medium plugin, false otherwise.
*/
virtual bool IsMediumPlugin() const = 0;
/**
* Check if the plugin is an override plugin.
* @return True if plugin is an override plugin, false otherwise.
@@ -112,6 +118,13 @@ public:
*/
virtual bool IsValidAsLightPlugin() const = 0;
/**
* Check if the plugin is or would be valid as a medium plugin.
* @return True if the plugin is a valid medium plugin or would be a valid
* medium plugin, false otherwise.
*/
virtual bool IsValidAsMediumPlugin() const = 0;
/**
* Check if the plugin is or would be valid as an override plugin.
* @return True if the plugin is a valid override plugin or would be a valid