diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-14 14:06:43 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-14 14:06:43 +0200 |
commit | 55135294197254a1b95e9552f3d465ef18fc7de4 (patch) | |
tree | f5169b4780c966a0194f623db08c3a08e0900f89 /config.c | |
parent | b47ce65b0354c0626b4a9650d96f83122f798b55 (diff) | |
download | vdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.gz vdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.bz2 |
Implemented replay mode display
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 1.68 2001/09/08 14:59:38 kls Exp $ + * $Id: config.c 1.69 2001/09/09 13:52:48 kls Exp $ */ #include "config.h" @@ -813,6 +813,7 @@ cSetup::cSetup(void) MinEventTimeout = 30; MinUserInactivity = 120; MultiSpeedMode = 0; + ShowReplayMode = 0; CurrentChannel = -1; } @@ -851,6 +852,7 @@ bool cSetup::Parse(char *s) else if (!strcasecmp(Name, "MinEventTimeout")) MinEventTimeout = atoi(Value); else if (!strcasecmp(Name, "MinUserInactivity")) MinUserInactivity = atoi(Value); else if (!strcasecmp(Name, "MultiSpeedMode")) MultiSpeedMode = atoi(Value); + else if (!strcasecmp(Name, "ShowReplayMode")) ShowReplayMode = atoi(Value); else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value); else return false; @@ -924,6 +926,7 @@ bool cSetup::Save(const char *FileName) fprintf(f, "MinEventTimeout = %d\n", MinEventTimeout); fprintf(f, "MinUserInactivity = %d\n", MinUserInactivity); fprintf(f, "MultiSpeedMode = %d\n", MultiSpeedMode); + fprintf(f, "ShowReplayMode = %d\n", ShowReplayMode); fprintf(f, "CurrentChannel = %d\n", CurrentChannel); f.Close(); isyslog(LOG_INFO, "saved setup to %s", FileName); |