Move test-runners has_feature() function to plugin loader
This commit is contained in:
@@ -92,6 +92,14 @@ struct plugin_loader_t {
|
||||
*/
|
||||
enumerator_t* (*create_plugin_enumerator)(plugin_loader_t *this);
|
||||
|
||||
/**
|
||||
* Check if the given feature is available and loaded.
|
||||
*
|
||||
* @param feature feature to check
|
||||
* @return TRUE if feature available
|
||||
*/
|
||||
bool (*has_feature)(plugin_loader_t *this, struct plugin_feature_t feature);
|
||||
|
||||
/**
|
||||
* Get a simple list the names of all loaded plugins.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user