summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-05 11:35:45 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-04-05 13:20:17 +0200
commit9df447454c470dcede29356c7ca4eb9a613f4f8f (patch)
tree2c9ebf0d45c52a3c426feb37047b0db6ed259596 /config.c
parent8ae5d34bef5bb1602225eed17e1899fc71f6c4a4 (diff)
downloadvdr-plugin-tvguide-9df447454c470dcede29356c7ca4eb9a613f4f8f.tar.gz
vdr-plugin-tvguide-9df447454c470dcede29356c7ca4eb9a613f4f8f.tar.bz2
Add switchMode to setup menu
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 0cf17a9..1d9d8e7 100644
--- a/config.c
+++ b/config.c
@@ -64,6 +64,7 @@ cTvguideConfig::cTvguideConfig() {
favLimitChannels = 0;
favStartChannel = 0;
favStopChannel = 0;
+ switchMode = 0;
switchMinsBefore = 2;
fontIndex = 0;
fontNameDefault = "VDRSymbols Sans:Book";
@@ -300,6 +301,7 @@ bool cTvguideConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "favLimitChannels") == 0) favLimitChannels = atoi(Value);
else if (strcmp(Name, "favStartChannel") == 0) favStartChannel = atoi(Value);
else if (strcmp(Name, "favStopChannel") == 0) favStopChannel = atoi(Value);
+ else if (strcmp(Name, "switchMode") == 0) switchMode = atoi(Value);
else if (strcmp(Name, "switchMinsBefore") == 0) switchMinsBefore = atoi(Value);
else if (strcmp(Name, "fontIndex") == 0) fontIndex = atoi(Value);
else if (strcmp(Name, "FontButtonDelta") == 0) FontButtonDelta = atoi(Value);