openMSX
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, string_view filename)
 
void saveSetting (string_view filename={})
 
void setSaveSettings (bool save)
 
void setSaveFilename (const FileContext &context, 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 18 of file SettingsConfig.cc.

◆ ~SettingsConfig()

openmsx::SettingsConfig::~SettingsConfig ( )

Member Function Documentation

◆ getSettingsManager()

SettingsManager& openmsx::SettingsConfig::getSettingsManager ( )
inline

Definition at line 29 of file SettingsConfig.hh.

Referenced by loadSetting().

◆ getXMLElement()

XMLElement& openmsx::SettingsConfig::getXMLElement ( )
inline

Definition at line 30 of file SettingsConfig.hh.

Referenced by openmsx::Setting::init(), and openmsx::Setting::setValue().

◆ loadSetting()

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

◆ saveSetting()

void openmsx::SettingsConfig::saveSetting ( string_view  filename = {})

◆ setSaveFilename()

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

Definition at line 52 of file SettingsConfig.cc.

References openmsx::FileContext::resolveCreate().

Referenced by loadSetting().

◆ setSaveSettings()

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

Definition at line 26 of file SettingsConfig.hh.

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


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