system/settings.cpp: add scan_logical_hd option, with 1 as default

This commit is contained in:
[CST] Focus
2012-07-31 18:16:11 +04:00
parent fa14f84333
commit 8ca988725c
2 changed files with 3 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ bool CScanSettings::loadSettings(const char * const fileName, const delivery_sys
scan_bat = configfile.getInt32("scan_bat", 0); scan_bat = configfile.getInt32("scan_bat", 0);
scan_reset_numbers = configfile.getInt32("scan_reset_numbers", 0); scan_reset_numbers = configfile.getInt32("scan_reset_numbers", 0);
scan_logical_numbers = configfile.getInt32("scan_logical_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_fec = configfile.getInt32("TP_fec", 1);
TP_pol = configfile.getInt32("TP_pol", 0); TP_pol = configfile.getInt32("TP_pol", 0);
TP_mod = configfile.getInt32("TP_mod", 3); 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_bat", scan_bat);
configfile.setInt32("scan_reset_numbers", scan_reset_numbers); configfile.setInt32("scan_reset_numbers", scan_reset_numbers);
configfile.setInt32("scan_logical_numbers", scan_logical_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_fec", TP_fec);
configfile.setInt32("TP_pol", TP_pol); configfile.setInt32("TP_pol", TP_pol);
configfile.setInt32("TP_mod", TP_mod); configfile.setInt32("TP_mod", TP_mod);

View File

@@ -677,6 +677,7 @@ public:
int scan_fta_flag; int scan_fta_flag;
int scan_reset_numbers; int scan_reset_numbers;
int scan_logical_numbers; int scan_logical_numbers;
int scan_logical_hd;
int TP_fec; int TP_fec;
int TP_pol; int TP_pol;
int TP_mod; int TP_mod;