summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-14 14:06:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-14 14:06:43 +0200
commit55135294197254a1b95e9552f3d465ef18fc7de4 (patch)
treef5169b4780c966a0194f623db08c3a08e0900f89 /config.c
parentb47ce65b0354c0626b4a9650d96f83122f798b55 (diff)
downloadvdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.gz
vdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.bz2
Implemented replay mode display
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.c b/config.c
index 171400b6..8cf69110 100644
--- a/config.c
+++ b/config.c
@@ -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);