Fixed two errors in 'newplugin'

This commit is contained in:
Klaus Schmidinger 2005-09-14 16:04:09 +02:00
parent 94d43abecf
commit 791fe6c40e
4 changed files with 13 additions and 6 deletions

View File

@ -1479,3 +1479,6 @@ Marko M
Patrick Rother <krd-vdr@gulu.net>
for reporting a bug in defining timers that only differ in the day of week
Alexander Rieger <Alexander.Rieger@inka.de>
for fixing two errors in 'newplugin'

View File

@ -3806,3 +3806,7 @@ Video Disk Recorder Revision History
(thanks to Carsten Koch).
- Implemented a hash for the channels to reduce the system load in the EIT scanning
thread (based on a patch by Georg Acher).
2005-09-14: Version 1.3.33
- Fixed two errors in 'newplugin' (thanks to Alexander Rieger).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: config.h 1.227 2005/09/04 10:49:24 kls Exp $
* $Id: config.h 1.228 2005/09/14 16:04:09 kls Exp $
*/
#ifndef __CONFIG_H
@ -19,8 +19,8 @@
#include "i18n.h"
#include "tools.h"
#define VDRVERSION "1.3.32"
#define VDRVERSNUM 10332 // Version * 10000 + Major * 100 + Minor
#define VDRVERSION "1.3.33"
#define VDRVERSNUM 10333 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99
#define MAXLIFETIME 99

View File

@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: newplugin 1.20 2005/08/27 16:13:29 kls Exp $
# $Id: newplugin 1.21 2005/09/14 16:02:06 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@ -245,13 +245,13 @@ bool cPlugin${PLUGIN_CLASS}::Service(const char *Id, void *Data)
return false;
}
const char **cPlugin${PLUGIN_CLASS}::SVDRPHelpPages(vo<F3>id)
const char **cPlugin${PLUGIN_CLASS}::SVDRPHelpPages(void)
{
// Return help text for SVDRP commands this plugin implements
return NULL;
}
const char *cPlugin${PLUGIN_CLASS}::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode)
cString cPlugin${PLUGIN_CLASS}::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode)
{
// Process SVDRP commands this plugin implements
return NULL;