openMSX
StringSetting.cc
Go to the documentation of this file.
1#include "StringSetting.hh"
2
3namespace openmsx {
4
6 std::string_view name_, static_string_view description_,
7 std::string_view initialValue, Save save_)
8 : Setting(commandController_, name_, description_,
9 TclObject(initialValue), save_)
10{
11 init();
12}
13
14std::string_view StringSetting::getTypeString() const
15{
16 return "string";
17}
18
19} // namespace openmsx
StringSetting(CommandController &commandController, std::string_view name, static_string_view description, std::string_view initialValue, Save save=Save::YES)
std::string_view getTypeString() const override
Returns a string describing the setting type (integer, string, ..) Could be used in a GUI to pick an ...
static_string_view
This file implemented 3 utility functions:
Definition Autofire.cc:11