openMSX
|
#include <UserSettings.hh>
Classes | |
struct | Info |
Public Types | |
using | Settings = std::vector< Info > |
Public Member Functions | |
UserSettings (CommandController &commandController) | |
void | addSetting (Info &&info) |
void | deleteSetting (Setting &setting) |
Setting * | findSetting (std::string_view name) const |
Definition at line 17 of file UserSettings.hh.
using openmsx::UserSettings::Settings = std::vector<Info> |
Definition at line 24 of file UserSettings.hh.
|
explicit |
Definition at line 24 of file UserSettings.cc.
void openmsx::UserSettings::addSetting | ( | Info && | info | ) |
Definition at line 29 of file UserSettings.cc.
References findSetting().
void openmsx::UserSettings::deleteSetting | ( | Setting & | setting | ) |
Definition at line 35 of file UserSettings.cc.
References move_pop_back(), rfind_unguarded(), and setting.
Setting * openmsx::UserSettings::findSetting | ( | std::string_view | name | ) | const |
Definition at line 41 of file UserSettings.cc.
References end(), and ranges::find().
Referenced by addSetting().