SNeutrinoSettings: convert more char[...] configuration values to std::string

This commit is contained in:
M. Liebmann
2014-01-18 17:11:12 +01:00
parent afbd87083b
commit 004aa84e32
7 changed files with 33 additions and 35 deletions

View File

@@ -238,7 +238,7 @@ struct SNeutrinoSettings
};
int personalize[P_SETTINGS_MAX];
char personalize_pincode[5];
std::string personalize_pincode;
//timing
enum TIMING_SETTINGS
@@ -492,10 +492,10 @@ struct SNeutrinoSettings
//Software-update
int softupdate_mode;
char softupdate_url_file[31];
char softupdate_proxyserver[31];
char softupdate_proxyusername[31];
char softupdate_proxypassword[31];
std::string softupdate_url_file;
std::string softupdate_proxyserver;
std::string softupdate_proxyusername;
std::string softupdate_proxypassword;
int softupdate_name_mode_apply;
int softupdate_name_mode_backup;
int apply_settings;
@@ -514,7 +514,7 @@ struct SNeutrinoSettings
int parentallock_prompt;
int parentallock_lockage;
int parentallock_defaultlocked;
char parentallock_pincode[5];
std::string parentallock_pincode;
// Font sizes
@@ -568,7 +568,7 @@ struct SNeutrinoSettings
};
int lcd_setting[LCD_SETTING_COUNT];
int lcd_info_line;
char lcd_setting_dim_time[4];
std::string lcd_setting_dim_time;
int lcd_setting_dim_brightness;
int led_tv_mode;
int led_standby_mode;