summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.cpp3
-rw-r--r--setup.h2
2 files changed, 4 insertions, 1 deletions
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;
}
diff --git a/setup.h b/setup.h
index 73d825c..11945d4 100644
--- a/setup.h
+++ b/setup.h
@@ -54,7 +54,7 @@ class Setup
void SetAdminLogin(std::string login) { m_adminLogin = login; }
std::string SetAdminPassword(std::string password);
void SetUseAuth(int auth) { m_useAuth = auth; }
- void SetScrenshotInterval(int interval) { m_screenshotInterval = interval; }
+ void SetScreenshotInterval(int interval) { m_screenshotInterval = interval; }
void SetTimes(std::string times) { m_times = times; }
void SetStartScreen(std::string startscreen) { m_startscreen = startscreen; }
void SetTheme(std::string theme) { m_theme = theme; }