From 8a2f3412e1995105f0379b599471d672b16c069c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 13 Jan 2012 14:50:14 +0400 Subject: [PATCH] settings: add setting for CI clock and scan setting for cable NID --- src/system/settings.cpp | 2 ++ src/system/settings.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/system/settings.cpp b/src/system/settings.cpp index ad6e4e950..c6e258df3 100644 --- a/src/system/settings.cpp +++ b/src/system/settings.cpp @@ -163,6 +163,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys scanSectionsd = configfile.getInt32("scanSectionsd", 0); fast_type = configfile.getInt32("fast_type", 1); fast_op = configfile.getInt32("fast_op", 0); + cable_nid = configfile.getInt32("cable_nid", 0); return true; } @@ -186,6 +187,7 @@ bool CScanSettings::saveSettings(const char * const fileName) configfile.setInt32("scanSectionsd", scanSectionsd ); configfile.setInt32("fast_type", fast_type); configfile.setInt32("fast_op", fast_op); + configfile.setInt32("cable_nid", fast_op); if(configfile.getModifiedFlag()) configfile.saveConfig(fileName); diff --git a/src/system/settings.h b/src/system/settings.h index 6755d723d..77fba4a54 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -101,6 +101,7 @@ struct SNeutrinoSettings int clockrec; int rounded_corners; int ci_standby_reset; + int ci_clock; int radiotext_enable; //vcr @@ -658,6 +659,7 @@ public: char TP_rate[9]; int fast_type; int fast_op; + int cable_nid; CScanSettings();