mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CScreenSaver: add class CScreenSaver
This commit is contained in:
@@ -496,6 +496,9 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.subs_charset = configfile.getString("subs_charset", "CP1252");
|
||||
g_settings.zap_cycle = configfile.getInt32( "zap_cycle", 0 );
|
||||
|
||||
//screen saver
|
||||
g_settings.screensaver_dir = configfile.getString("screensaver_dir", DATADIR "/neutrino/icons/");
|
||||
|
||||
//vcr
|
||||
g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true );
|
||||
|
||||
@@ -1020,6 +1023,9 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
}
|
||||
configfile.setString("subs_charset", g_settings.subs_charset);
|
||||
|
||||
//screen saver
|
||||
configfile.setString("screensaver_dir", g_settings.screensaver_dir);
|
||||
|
||||
//vcr
|
||||
configfile.setBool("vcr_AutoSwitch" , g_settings.vcr_AutoSwitch );
|
||||
|
||||
|
Reference in New Issue
Block a user