From d07e3829f7c44d713b2677ef73f864af80b3dea3 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 13 May 2002 18:00:00 +0200 Subject: Version 1.1.2 - Changed the cPlugin::Start() function to return a boolean value that indicates if the plugin will not be able to perform its task (suggested by Stefan Huelswitt). - Added the cPlugin::Housekeeping() function (suggested by Stefan Huelswitt). - Updated channels.conf.cable (thanks to Uwe Scheffler). - Added 'insert' capabilities to cList (suggested by Stefan Huelswitt). - Changed the 'package' target in the plugin's Makefile to produce a package that expands to a directory with just the plugin name and version number (suggested by Stefan Huelswitt). - Made the config directory available to plugins (suggested by Stefan Huelswitt). See PLUGINS.html, section "Configuration files" for details. - Improved the [eid]syslog() macros, so that the LOG_... macros don't need to be given any more. --- interface.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index b86fb14..0731f0d 100644 --- a/interface.c +++ b/interface.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: interface.c 1.47 2002/01/27 15:48:46 kls Exp $ + * $Id: interface.c 1.48 2002/05/13 16:30:22 kls Exp $ */ #include "interface.h" @@ -303,7 +303,7 @@ void cInterface::Status(const char *s, eDvbColor FgColor, eDvbColor BgColor) void cInterface::Info(const char *s) { Open(Setup.OSDwidth, -1); - isyslog(LOG_INFO, "info: %s", s); + isyslog("info: %s", s); Status(s, clrBlack, clrGreen); Wait(); Status(NULL); @@ -313,7 +313,7 @@ void cInterface::Info(const char *s) void cInterface::Error(const char *s) { Open(Setup.OSDwidth, -1); - esyslog(LOG_ERR, "ERROR: %s", s); + esyslog("ERROR: %s", s); Status(s, clrWhite, clrRed); Wait(); Status(NULL); @@ -323,13 +323,13 @@ void cInterface::Error(const char *s) bool cInterface::Confirm(const char *s, int Seconds, bool WaitForTimeout) { Open(Setup.OSDwidth, -1); - isyslog(LOG_INFO, "confirm: %s", s); + isyslog("confirm: %s", s); Status(s, clrBlack, clrYellow); eKeys k = Wait(Seconds); bool result = WaitForTimeout ? k == kNone : k == kOk; Status(NULL); Close(); - isyslog(LOG_INFO, "%sconfirmed", result ? "" : "not "); + isyslog("%sconfirmed", result ? "" : "not "); return result; } @@ -441,7 +441,7 @@ void cInterface::QueryKeys(void) void cInterface::LearnKeys(void) { - isyslog(LOG_INFO, "learning keys"); + isyslog("learning keys"); Open(); for (;;) { Clear(); -- cgit v1.2.3