From a636ed8349440856a0b6d476107dab63bc4bb128 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Wed, 19 Sep 2007 21:13:32 +0000 Subject: - preparation to save/restore screenshot interval --- setup.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.cpp') diff --git a/setup.cpp b/setup.cpp index 5565ddd..5dea426 100644 --- a/setup.cpp +++ b/setup.cpp @@ -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; } -- cgit v1.2.3