Codechange: use std::string_view in IConsole settings API
This commit is contained in:
@@ -17,10 +17,10 @@
|
||||
struct IniFile;
|
||||
struct WindowDesc;
|
||||
|
||||
void IConsoleSetSetting(const char *name, const char *value, bool force_newgame = false);
|
||||
void IConsoleSetSetting(const char *name, int32_t value);
|
||||
void IConsoleGetSetting(const char *name, bool force_newgame = false);
|
||||
void IConsoleListSettings(const char *prefilter);
|
||||
void IConsoleSetSetting(std::string_view name, std::string_view value, bool force_newgame = false);
|
||||
void IConsoleSetSetting(std::string_view name, int32_t value);
|
||||
void IConsoleGetSetting(std::string_view name, bool force_newgame = false);
|
||||
void IConsoleListSettings(std::string_view prefilter);
|
||||
|
||||
void LoadFromConfig(bool minimal = false);
|
||||
void SaveToConfig();
|
||||
|
||||
Reference in New Issue
Block a user