CScanSettings: convert char[...] configuration values to std::string

This commit is contained in:
M. Liebmann
2014-01-18 17:12:32 +01:00
parent 004aa84e32
commit 0a5a7b3146
7 changed files with 86 additions and 83 deletions

View File

@@ -762,17 +762,17 @@ class CScanSettings
int fast_op;
int cable_nid;
char satName[50];
std::string satName;
int sat_TP_fec;
int sat_TP_pol;
char sat_TP_freq[10];
char sat_TP_rate[9];
std::string sat_TP_freq;
std::string sat_TP_rate;
char cableName[50];
std::string cableName;
int cable_TP_mod;
int cable_TP_fec;
char cable_TP_freq[10];
char cable_TP_rate[9];
std::string cable_TP_freq;
std::string cable_TP_rate;
CScanSettings();
@@ -781,5 +781,4 @@ class CScanSettings
bool saveSettings(const char * const fileName);
};
#endif