summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin.h b/plugin.h
index 3d56b175..3befbbba 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);
};