mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
SNeutrinoSettings: convert more char[...] configuration values to std::string
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user