Classes | Public Member Functions | List of all members
openmsx::SettingsConfig Class Reference

#include <SettingsConfig.hh>

Public Member Functions

 SettingsConfig (GlobalCommandController &globalCommandController, HotKey &hotKey)
 ~SettingsConfig ()
void loadSetting (const FileContext &context, std::string_view filename)
void saveSetting (std::string filename={})
void setSaveSettings (bool save)
void setSaveFilename (const FileContext &context, std::string_view filename)
SettingsManagergetSettingsManager ()
XMLElementgetXMLElement ()

Detailed Description

Definition at line 17 of file SettingsConfig.hh.

Constructor & Destructor Documentation

◆ SettingsConfig()

openmsx::SettingsConfig::SettingsConfig ( GlobalCommandController globalCommandController,
HotKey hotKey 

Definition at line 20 of file

◆ ~SettingsConfig()

openmsx::SettingsConfig::~SettingsConfig ( )

Member Function Documentation

◆ getSettingsManager()

SettingsManager& openmsx::SettingsConfig::getSettingsManager ( )

◆ getXMLElement()

XMLElement& openmsx::SettingsConfig::getXMLElement ( )

Definition at line 30 of file SettingsConfig.hh.

Referenced by openmsx::Setting::init().

◆ loadSetting()

void openmsx::SettingsConfig::loadSetting ( const FileContext context,
std::string_view  filename 

◆ saveSetting()

void openmsx::SettingsConfig::saveSetting ( std::string  filename = {})

◆ setSaveFilename()

void openmsx::SettingsConfig::setSaveFilename ( const FileContext context,
std::string_view  filename 

Definition at line 55 of file

References gl::context, and openmsx::filename.

◆ setSaveSettings()

void openmsx::SettingsConfig::setSaveSettings ( bool  save)

Definition at line 26 of file SettingsConfig.hh.

Referenced by openmsx::GlobalSettings::~GlobalSettings().

The documentation for this class was generated from the following files: