From 3a4d59c9ac7226432120633ad394464d37e5f497 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Fri, 25 May 2007 16:58:56 +0000 Subject: - first version of "userdef. times" in "What's on?" --- setup.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.cpp') diff --git a/setup.cpp b/setup.cpp index 247b81f..0b5a5c8 100644 --- a/setup.cpp +++ b/setup.cpp @@ -73,6 +73,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value ) else if ( strcmp( name, "UseAuth" ) == 0 ) m_useAuth = atoi( value ); else if ( strcmp( name, "AdminLogin" ) == 0 ) m_adminLogin = value; else if ( strcmp( name, "AdminPasswordMD5" ) == 0 ) m_adminPasswordMD5 = value; + else if ( strcmp( name, "UserdefTimes" ) == 0 ) m_times = value; else return false; return true; } @@ -141,6 +142,7 @@ bool Setup::SaveSetup() liveplugin->SetupStore("AdminLogin", m_adminLogin.c_str()); liveplugin->SetupStore("AdminPasswordMD5", m_adminPasswordMD5.c_str()); } + liveplugin->SetupStore("UserdefTimes", m_times.c_str()); return true; } -- cgit v1.2.3