diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-03 18:34:17 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-06-03 18:34:17 +0000 |
commit | 41687a7bbe9c8d304b805a9a5f7e14101f1d75a5 (patch) | |
tree | bd1cde8a54dcf9837c6762fd5f222c730fae83d7 /setup.cpp | |
parent | 57a7acaea436aa3be941abba5b11aa73cd473cc2 (diff) | |
download | vdr-plugin-live-41687a7bbe9c8d304b805a9a5f7e14101f1d75a5.tar.gz vdr-plugin-live-41687a7bbe9c8d304b805a9a5f7e14101f1d75a5.tar.bz2 |
- save and restore last list mode in "What's on"
Diffstat (limited to 'setup.cpp')
-rw-r--r-- | setup.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -26,7 +26,8 @@ Setup::Setup(): m_lastChannel( 0 ), m_screenshotInterval( 1000 ), m_useAuth( 1 ), - m_adminLogin("admin") + m_adminLogin("admin"), + m_lastwhatsonlistmode("detail") { m_adminPasswordMD5 = "4:" + MD5Hash("live"); liveplugin = cPluginManager::GetPlugin("live"); @@ -77,6 +78,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value ) else if ( strcmp( name, "UserdefTimes" ) == 0 ) m_times = value; else if ( strcmp( name, "StartPage" ) == 0 ) m_startscreen = value; else if ( strcmp( name, "LocalNetMask" ) == 0 ) { m_localnetmask = value; } + else if ( strcmp( name, "LastWhatsOnListMode" ) == 0 ) { m_lastwhatsonlistmode = value; } else return false; return true; } @@ -198,6 +200,7 @@ bool Setup::SaveSetup() } liveplugin->SetupStore("UserdefTimes", m_times.c_str()); liveplugin->SetupStore("StartPage", m_startscreen.c_str()); + liveplugin->SetupStore("LastWhatsOnListMode", m_lastwhatsonlistmode.c_str()); return true; } |