From 35de98e6a1c07916f0117cec16f81aff91262d4c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 21 Aug 2005 12:55:03 +0200 Subject: Adjusted 'Custom services' description to the actual implementation --- PLUGINS.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 9cc53153..c0e1d5f6 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -929,13 +929,12 @@ if (Plugin) To send messages to, or request services from some plugin that offers the protocol, a plugin can call the function cPluginManager::CallFirstService(). This function -will send the request to the first plugin that supports this service protocol. The -function returns a pointer to the plugin that handled the request, or NULL -if no plugin handled the request. +will send the request to all plugins until one plugin handles it. +The function returns a pointer to the plugin that handled the request, or NULL +if no plugin handled it.

To send a messages to all plugins, a plugin can call the function -cPluginManager::CallAllServices(). This function will send the request to -all plugins that support this service protocol. The function returns true if +cPluginManager::CallAllServices(). This function returns true if any plugin handled the request, or false if no plugin handled the request. -- cgit v1.2.3