From 8ca988725c060f2bf2a25885f2999aa4f8da1d12 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 31 Jul 2012 18:16:11 +0400 Subject: [PATCH] system/settings.cpp: add scan_logical_hd option, with 1 as default --- src/system/settings.cpp | 2 ++ src/system/settings.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/system/settings.cpp b/src/system/settings.cpp index aa455a387..15c32b6cb 100644 --- a/src/system/settings.cpp +++ b/src/system/settings.cpp @@ -132,6 +132,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys scan_bat = configfile.getInt32("scan_bat", 0); scan_reset_numbers = configfile.getInt32("scan_reset_numbers", 0); scan_logical_numbers = configfile.getInt32("scan_logical_numbers", 0); + scan_logical_hd = configfile.getInt32("scan_logical_hd", 1); TP_fec = configfile.getInt32("TP_fec", 1); TP_pol = configfile.getInt32("TP_pol", 0); TP_mod = configfile.getInt32("TP_mod", 3); @@ -166,6 +167,7 @@ bool CScanSettings::saveSettings(const char * const fileName) configfile.setInt32("scan_bat", scan_bat); configfile.setInt32("scan_reset_numbers", scan_reset_numbers); configfile.setInt32("scan_logical_numbers", scan_logical_numbers); + configfile.setInt32("scan_logical_hd", scan_logical_hd); configfile.setInt32("TP_fec", TP_fec); configfile.setInt32("TP_pol", TP_pol); configfile.setInt32("TP_mod", TP_mod); diff --git a/src/system/settings.h b/src/system/settings.h index 88ded2fea..d3f04a3e5 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -677,6 +677,7 @@ public: int scan_fta_flag; int scan_reset_numbers; int scan_logical_numbers; + int scan_logical_hd; int TP_fec; int TP_pol; int TP_mod;