Christian Leuschen wrote:
... @Klaus: Is there an obstacle to get all plugins that support some kind of service? s.th like
static cPlugin **CallAllServicePlugins(const char *Id, void *Data = NULL);
that returns a list of all plugins supporting the requested service. I would like to use it to collect the names of all data-providers and all visualization-clients.
You can use cPluginManager::GetPlugin(int Index) to loop through all plugins, and call each plugin's Service() function without a 'Data' pointer. If the call returns 'true', the service is supported.
Klaus