diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-09-19 21:13:32 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-09-19 21:13:32 +0000 |
commit | a636ed8349440856a0b6d476107dab63bc4bb128 (patch) | |
tree | 23f4a5d9611e8bd2806e404f4b1a6d87a09bdd98 /setup.cpp | |
parent | 2b539761991dc72df8042d9c9abb184068407d8f (diff) | |
download | vdr-plugin-live-a636ed8349440856a0b6d476107dab63bc4bb128.tar.gz vdr-plugin-live-a636ed8349440856a0b6d476107dab63bc4bb128.tar.bz2 |
- preparation to save/restore screenshot interval
Diffstat (limited to 'setup.cpp')
-rw-r--r-- | setup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -94,6 +94,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value ) else if ( strcmp( name, "ShowLogo" ) == 0 ) { m_showLogo = atoi(value); } else if ( strcmp( name, "UseAjax" ) == 0 ) { m_useAjax = atoi(value); } else if ( strcmp( name, "ShowInfoBox" ) == 0 ) { m_showInfoBox = atoi(value); } + else if ( strcmp( name, "ScreenShotInterval" ) == 0 ) { m_screenshotInterval = atoi(value); } else return false; return true; } @@ -220,6 +221,8 @@ bool Setup::SaveSetup() liveplugin->SetupStore("ShowLogo", m_showLogo); liveplugin->SetupStore("UseAjax", m_useAjax); liveplugin->SetupStore("ShowInfoBox", m_showInfoBox); + liveplugin->SetupStore("ScreenShotInterval", m_screenshotInterval); + return true; } |