summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2015-02-09 21:10:31 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2015-02-09 21:10:31 +0100
commit9f184bb3e2c975fa71dad5a65a7e267ea2b7b424 (patch)
tree2bd9f7bbd5a06075822c8e23c300b23f6cd3c481 /config.c
parentd7635ebd99454747c26d8ddd067858af75e57de2 (diff)
downloadskin-flatplus-9f184bb3e2c975fa71dad5a65a7e267ea2b7b424.tar.gz
skin-flatplus-9f184bb3e2c975fa71dad5a65a7e267ea2b7b424.tar.bz2
add remote timers support
Diffstat (limited to 'config.c')
-rw-r--r--config.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/config.c b/config.c
index e0af986c..11de05bf 100644
--- a/config.c
+++ b/config.c
@@ -95,6 +95,10 @@ cFlatConfig::cFlatConfig(void) {
MainMenuWidgetActiveTimerHideEmpty = false;
MainMenuWidgetActiveTimerShowActive = true;
MainMenuWidgetActiveTimerShowRecording = true;
+ MainMenuWidgetActiveTimerShowRemoteActive = false;
+ MainMenuWidgetActiveTimerShowRemoteRecording = false;
+
+ MainMenuWidgetActiveTimerShowRemoteRefreshTime = 60 * 30; // every 30 minutes
MainMenuWidgetLastRecShow = false;
MainMenuWidgetLastRecPosition = 4;
@@ -366,7 +370,9 @@ bool cFlatConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "MainMenuWidgetActiveTimerShowActive") == 0) MainMenuWidgetActiveTimerShowActive = atoi(Value);
else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRecording") == 0) MainMenuWidgetActiveTimerShowRecording = atoi(Value);
else if (strcmp(Name, "MenuEventViewAllwaysWithDate") == 0) MenuEventViewAllwaysWithDate = atoi(Value);
-
+ else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteActive") == 0) MainMenuWidgetActiveTimerShowRemoteActive = atoi(Value);
+ else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteRecording") == 0) MainMenuWidgetActiveTimerShowRemoteRecording = atoi(Value);
+ else if (strcmp(Name, "MainMenuWidgetActiveTimerShowRemoteRefreshTime") == 0) MainMenuWidgetActiveTimerShowRemoteRefreshTime = atoi(Value);
else return false;
return true;