[ANNOUNCE] vdr-span-0.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux