Removed the obsolete function cPlugin::RegisterI18n()

This commit is contained in:
Klaus Schmidinger 2012-03-11 13:56:35 +01:00
parent 526310bdcc
commit 42b40aecf5
3 changed files with 3 additions and 9 deletions

View File

@ -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 - 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). to display the full short name of each channel (suggested by Dominic Evans).
- Dropped the meanwhile obsolete script 'i18n-to-gettext'. - Dropped the meanwhile obsolete script 'i18n-to-gettext'.
- Removed the obsolete function cPlugin::RegisterI18n().

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "plugin.h"
@ -130,11 +130,6 @@ cString cPlugin::SVDRPCommand(const char *Command, const char *Option, int &Repl
return NULL; return NULL;
} }
void cPlugin::RegisterI18n(const void *)
{
dsyslog("plugin '%s' called obsolete function RegisterI18n()", Name());
}
void cPlugin::SetConfigDirectory(const char *Dir) void cPlugin::SetConfigDirectory(const char *Dir)
{ {
free(configDirectory); free(configDirectory);

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __PLUGIN_H
@ -51,8 +51,6 @@ public:
void SetupStore(const char *Name, const char *Value = NULL); void SetupStore(const char *Name, const char *Value = NULL);
void SetupStore(const char *Name, int Value); 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 bool Service(const char *Id, void *Data = NULL);
virtual const char **SVDRPHelpPages(void); virtual const char **SVDRPHelpPages(void);
virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode); virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode);