From 43683f731ba239f445862014e524ae5a62f84cf1 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 17 Mar 2006 18:25:57 +0000 Subject: - adopted to newer vdr --- status.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'status.c') diff --git a/status.c b/status.c index 9052267..bebcf93 100644 --- a/status.c +++ b/status.c @@ -1,5 +1,5 @@ /* - * $Id: status.c,v 1.10 2005/06/03 08:53:13 lordjaxom Exp $ + * $Id: status.c,v 1.11 2006/03/17 18:25:57 lordjaxom Exp $ */ #include "status.h" @@ -29,14 +29,16 @@ void cText2SkinStatus::SetRender(cText2SkinRender *Render) mNextRecording = 0; } -void cText2SkinStatus::Replaying(const cControl* /*Control*/, const char *Name) { +void cText2SkinStatus::Replaying(const cControl* /*Control*/, const char *Name, + const char *FileName, bool On) +{ Dprintf("cText2SkinStatus::Replaying(%s)\n", Name); eReplayMode oldMode = mReplayMode; if (mRender != NULL) mRender->UpdateLock(); - if (Name != NULL) { + if (On) { mReplayMode = replayMPlayer; if (strlen(Name) > 6 && Name[0]=='[' && Name[3]==']' && Name[5]=='(') { int i; @@ -83,7 +85,8 @@ void cText2SkinStatus::Replaying(const cControl* /*Control*/, const char *Name) } } -void cText2SkinStatus::Recording(const cDevice *Device, const char *Name) +void cText2SkinStatus::Recording(const cDevice *Device, const char *Name, + const char *FileName, bool On) { if (mRender != NULL) mRender->UpdateLock(); -- cgit v1.2.3