diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-05 12:08:09 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-05 12:08:09 +0100 |
commit | 6096500940b17b92ac6be82007daf22e055e041e (patch) | |
tree | 77ca9993f9e726497c9bd271b0079106423e57a8 /menu.c | |
parent | eab7806f2018eeed66d4cfb2151c069237206cd4 (diff) | |
download | vdr-6096500940b17b92ac6be82007daf22e055e041e.tar.gz vdr-6096500940b17b92ac6be82007daf22e055e041e.tar.bz2 |
Added 'Update channels' setup parameter
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.276 2004/01/04 11:12:43 kls Exp $ + * $Id: menu.c 1.277 2004/01/05 11:51:33 kls Exp $ */ #include "menu.h" @@ -2045,6 +2045,8 @@ cMenuSetupEPG::cMenuSetupEPG(void) // --- cMenuSetupDVB --------------------------------------------------------- class cMenuSetupDVB : public cMenuSetupBase { +private: + const char *updateChannelsTexts[4]; public: cMenuSetupDVB(void); virtual eOSState ProcessKey(eKeys Key); @@ -2052,9 +2054,15 @@ public: cMenuSetupDVB::cMenuSetupDVB(void) { + updateChannelsTexts[0] = tr("no"); + updateChannelsTexts[1] = tr("names only"); + updateChannelsTexts[2] = tr("names and PIDs"); + updateChannelsTexts[3] = tr("add new channels"); + SetSection(tr("DVB")); Add(new cMenuEditIntItem( tr("Setup.DVB$Primary DVB interface"), &data.PrimaryDVB, 1, cDevice::NumDevices())); Add(new cMenuEditBoolItem(tr("Setup.DVB$Video format"), &data.VideoFormat, "4:3", "16:9")); + Add(new cMenuEditStraItem(tr("Setup.DVB$Update channels"), &data.UpdateChannels, 4, updateChannelsTexts)); } eOSState cMenuSetupDVB::ProcessKey(eKeys Key) |