diff options
author | lordjaxom <lordjaxom> | 2006-03-17 18:25:57 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2006-03-17 18:25:57 +0000 |
commit | 43683f731ba239f445862014e524ae5a62f84cf1 (patch) | |
tree | 0c903bb29c764dc4ba9c1a80cf591b69ddaaf16b /status.c | |
parent | d7bfd442720529968403f3d7c2d09410272c6c0e (diff) | |
download | vdr-plugin-text2skin-43683f731ba239f445862014e524ae5a62f84cf1.tar.gz vdr-plugin-text2skin-43683f731ba239f445862014e524ae5a62f84cf1.tar.bz2 |
- adopted to newer vdr
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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(); |