Move test-runners has_feature() function to plugin loader

This commit is contained in:
Martin Willi
2013-06-21 10:53:22 +02:00
parent df76881f11
commit 2bedb0f270
3 changed files with 40 additions and 32 deletions
@@ -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.
*