mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
neutrino: add version_pseudo.h to allow changes ...
by comparing old version_pseudo with new one
Origin commit data
------------------
Branch: ni/coolstream
Commit: 273dc68da5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-03-03 (Thu, 03 Mar 2016)
Origin message was:
------------------
- neutrino: add version_pseudo.h to allow changes ...
by comparing old version_pseudo with new one
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
0b515ce28d
commit
ed757e69fe
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "neutrino.h"
|
||||
#include "version_pseudo.h"
|
||||
|
||||
#include <daemonc/remotecontrol.h>
|
||||
|
||||
@@ -909,6 +910,8 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.livestreamResolution = configfile.getInt32("livestreamResolution", 1920);
|
||||
g_settings.livestreamScriptPath = configfile.getString("livestreamScriptPath", PLUGINDIR_VAR "/webtv");
|
||||
|
||||
g_settings.version_pseudo = configfile.getString("version_pseudo", "19700101000000");
|
||||
|
||||
if(erg)
|
||||
configfile.setModifiedFlag(true);
|
||||
return erg;
|
||||
@@ -1348,6 +1351,8 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setInt32("livestreamResolution", g_settings.livestreamResolution);
|
||||
configfile.setString("livestreamScriptPath", g_settings.livestreamScriptPath);
|
||||
|
||||
configfile.setString("version_pseudo", g_settings.version_pseudo);
|
||||
|
||||
if(strcmp(fname, NEUTRINO_SETTINGS_FILE) || configfile.getModifiedFlag())
|
||||
configfile.saveConfig(fname);
|
||||
}
|
||||
|
@@ -137,6 +137,8 @@ struct SNeutrinoTheme
|
||||
|
||||
struct SNeutrinoSettings
|
||||
{
|
||||
std::string version_pseudo;
|
||||
|
||||
//video
|
||||
int video_Format;
|
||||
int video_Mode;
|
||||
|
1
version_pseudo.h
Normal file
1
version_pseudo.h
Normal file
@@ -0,0 +1 @@
|
||||
#define NEUTRINO_VERSION_PSEUDO "19700101000000"
|
Reference in New Issue
Block a user