gui/scan_setup.cpp: add pilot param to manual scan menu

Origin commit data
------------------
Branch: ni/coolstream
Commit: 34691a1724
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-12-08 (Mon, 08 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-12-08 17:22:41 +03:00
parent 81086d87b2
commit 33348df25f
10 changed files with 58 additions and 2 deletions

View File

@@ -520,6 +520,9 @@ typedef enum
LOCALE_EXTRA_TP_MOD_64,
LOCALE_EXTRA_TP_MOD_8,
LOCALE_EXTRA_TP_MOD_AUTO,
LOCALE_EXTRA_TP_PILOT,
LOCALE_EXTRA_TP_PILOT_AUTO,
LOCALE_EXTRA_TP_PILOT_AUTO_SW,
LOCALE_EXTRA_TP_POL,
LOCALE_EXTRA_TP_POL_H,
LOCALE_EXTRA_TP_POL_L,
@@ -1285,6 +1288,7 @@ typedef enum
LOCALE_MENU_HINT_SCAN_NID,
LOCALE_MENU_HINT_SCAN_NIT,
LOCALE_MENU_HINT_SCAN_PIDS,
LOCALE_MENU_HINT_SCAN_PILOT,
LOCALE_MENU_HINT_SCAN_POL,
LOCALE_MENU_HINT_SCAN_RATE,
LOCALE_MENU_HINT_SCAN_RESET_NUMBERS,

View File

@@ -520,6 +520,9 @@ const char * locale_real_names[] =
"extra.tp_mod_64",
"extra.tp_mod_8",
"extra.tp_mod_auto",
"extra.tp_pilot",
"extra.tp_pilot_auto",
"extra.tp_pilot_auto_sw",
"extra.tp_pol",
"extra.tp_pol_h",
"extra.tp_pol_l",
@@ -1285,6 +1288,7 @@ const char * locale_real_names[] =
"menu.hint_scan_nid",
"menu.hint_scan_nit",
"menu.hint_scan_pids",
"menu.hint_scan_pilot",
"menu.hint_scan_pol",
"menu.hint_scan_rate",
"menu.hint_scan_reset_numbers",

View File

@@ -145,6 +145,7 @@ bool CScanSettings::loadSettings(const char * const fileName)
sat_TP_rate = configfile.getString("sat_TP_rate", "27500000");
sat_TP_mod = configfile.getInt32("sat_TP_mod", QPSK);
sat_TP_delsys = configfile.getInt32("sat_TP_delsys", DVB_S);
sat_TP_pilot = configfile.getInt32("sat_TP_pilot", ZPILOT_AUTO_SW);
cableName = configfile.getString("cableName", cableName);
cable_TP_mod = configfile.getInt32("cable_TP_mod", QAM_64);
@@ -202,6 +203,7 @@ bool CScanSettings::saveSettings(const char * const fileName)
configfile.setString("sat_TP_rate", sat_TP_rate);
configfile.setInt32("sat_TP_delsys", sat_TP_delsys);
configfile.setInt32("sat_TP_mod", sat_TP_mod);
configfile.setInt32("sat_TP_pilot", sat_TP_pilot);
configfile.setString("cableName", cableName);
configfile.setInt32("cable_TP_fec", cable_TP_fec);

View File

@@ -846,6 +846,7 @@ class CScanSettings
std::string sat_TP_rate;
int sat_TP_delsys;
int sat_TP_mod;
int sat_TP_pilot;
std::string cableName;
int cable_TP_mod;