From 42b40aecf5094a0fc5e33db5dfa98c4a6b6ea6b0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Mar 2012 13:56:35 +0100 Subject: [PATCH] Removed the obsolete function cPlugin::RegisterI18n() --- HISTORY | 1 + plugin.c | 7 +------ plugin.h | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/HISTORY b/HISTORY index 9409c301..701ee561 100644 --- a/HISTORY +++ b/HISTORY @@ -7019,3 +7019,4 @@ Video Disk Recorder Revision History - The channel name column in the "What's on now/next" menu now adjusts its width to display the full short name of each channel (suggested by Dominic Evans). - Dropped the meanwhile obsolete script 'i18n-to-gettext'. +- Removed the obsolete function cPlugin::RegisterI18n(). diff --git a/plugin.c b/plugin.c index 97b4436a..52256ee0 100644 --- a/plugin.c +++ b/plugin.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: plugin.c 2.2 2010/01/06 11:36:46 kls Exp $ + * $Id: plugin.c 2.3 2012/03/11 13:56:02 kls Exp $ */ #include "plugin.h" @@ -130,11 +130,6 @@ cString cPlugin::SVDRPCommand(const char *Command, const char *Option, int &Repl return NULL; } -void cPlugin::RegisterI18n(const void *) -{ - dsyslog("plugin '%s' called obsolete function RegisterI18n()", Name()); -} - void cPlugin::SetConfigDirectory(const char *Dir) { free(configDirectory); diff --git a/plugin.h b/plugin.h index f457bd04..684b822a 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.15 2007/08/04 09:56:26 kls Exp $ + * $Id: plugin.h 2.1 2012/03/11 13:55:56 kls Exp $ */ #ifndef __PLUGIN_H @@ -51,8 +51,6 @@ public: void SetupStore(const char *Name, const char *Value = NULL); void SetupStore(const char *Name, int Value); - void RegisterI18n(const void *); ///< This function is obsolete and may be removed in future versions of VDR! - virtual bool Service(const char *Id, void *Data = NULL); virtual const char **SVDRPHelpPages(void); virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode);