diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-10-26 16:29:25 +0100 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-10-26 16:29:25 +0100 |
commit | 8dc4bba7ad0968a51b617cc242eaf528037c55a5 (patch) | |
tree | da5321bd6148996365bf7623cce53446f11cace0 /setup.c | |
parent | c267a020a167195c08d03f0d85ac900820dee3e3 (diff) | |
download | skin-flatplus-8dc4bba7ad0968a51b617cc242eaf528037c55a5.tar.gz skin-flatplus-8dc4bba7ad0968a51b617cc242eaf528037c55a5.tar.bz2 |
add hidden options ShortRecordingCount
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -273,6 +273,7 @@ void cFlatSetup::Store(void) { SetupStore("MenuRecordingShowCount", Config.MenuRecordingShowCount); SetupStore("MenuTimerShowCount", Config.MenuTimerShowCount); SetupStore("MenuChannelShowCount", Config.MenuChannelShowCount); + SetupStore("ShortRecordingCount", Config.ShortRecordingCount); Config.Init(); } @@ -419,6 +420,7 @@ bool cFlatSetupGeneral::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "MenuRecordingShowCount") == 0) SetupConfig->MenuRecordingShowCount = atoi(Value); else if (strcmp(Name, "MenuTimerShowCount") == 0) SetupConfig->MenuTimerShowCount = atoi(Value); else if (strcmp(Name, "MenuChannelShowCount") == 0) SetupConfig->MenuChannelShowCount = atoi(Value); + else if (strcmp(Name, "ShortRecordingCount") == 0) SetupConfig->ShortRecordingCount = atoi(Value); else return false; return true; @@ -546,6 +548,7 @@ void cFlatSetupGeneral::SaveCurrentSettings(void) { Config.Store("MenuRecordingShowCount", SetupConfig->MenuRecordingShowCount, *Filename); Config.Store("MenuTimerShowCount", SetupConfig->MenuTimerShowCount, *Filename); Config.Store("MenuChannelShowCount", SetupConfig->MenuChannelShowCount, *Filename); + Config.Store("ShortRecordingCount", SetupConfig->ShortRecordingCount, *Filename); cString msg = cString::sprintf("%s %s", tr("saved settings in file:"), *File); Skins.Message(mtInfo, msg); |