Codechange: use std::string_view in IConsole settings API

This commit is contained in:
Rubidium
2025-04-21 22:28:57 +02:00
committed by rubidium42
parent b279bc37e7
commit 917ef03e97
3 changed files with 11 additions and 11 deletions

View File

@@ -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();