From dab203efe9e24f1dade33ee1da6a39b26f8501f0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 21 Aug 2005 18:00:00 +0200 Subject: Version 1.3.30 - Improved responsiveness inside CAM menus. - Added handling of the 'Close MMI' tag to avoid error log messages with CAMs that actually use it. - Now waiting at startup until all DVB devices are ready. This includes having all CAMs initialized and ready to decrypt, so that no more "channel not available" happens if VDR is started with the current channel being an encrypted one, or a timer on such a channel hits right after starting VDR. - Fixed cVideoRepacker to better handle errors in data (thanks to Reinhard Nissl). - Fixed cDvbTuner to avoid lockups on NPTL systems (thanks to Marcel Wiesweg). - Added 'Service' functions to the plugin interface (thanks to Udo Richter). See PLUGINS.html, section "Custom services" for details. - Replaced the get/put_unaligned() macros from with own inline functions to avoid problems on platforms that don't provide these (thanks to David Woodhouse for his help). --- plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugin.h') diff --git a/plugin.h b/plugin.h index 3d56b17..3befbbb 100644 --- a/plugin.h +++ b/plugin.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: plugin.h 1.8 2005/01/30 14:03:48 kls Exp $ + * $Id: plugin.h 1.9 2005/08/21 09:32:08 kls Exp $ */ #ifndef __PLUGIN_H @@ -50,6 +50,8 @@ public: void RegisterI18n(const tI18nPhrase * const Phrases); + virtual bool Service(const char *Id, void *Data = NULL); + static void SetConfigDirectory(const char *Dir); static const char *ConfigDirectory(const char *PluginName = NULL); }; @@ -88,6 +90,8 @@ public: static bool HasPlugins(void); static cPlugin *GetPlugin(int Index); static cPlugin *GetPlugin(const char *Name); + static cPlugin *CallFirstService(const char *Id, void *Data = NULL); + static bool CallAllServices(const char *Id, void *Data = NULL); void StopPlugins(void); void Shutdown(void); }; -- cgit v1.2.3