Audacity 3.2.0
|
Public Member Functions | |
~ModuleSettingsResetHandler () override | |
void | OnSettingResetBegin () override |
Happens before preferences reset. More... | |
void | OnSettingResetEnd () override |
Happens after preferences reset. More... | |
Public Member Functions inherited from PreferencesResetHandler | |
virtual | ~PreferencesResetHandler () |
virtual void | OnSettingResetBegin ()=0 |
Happens before preferences reset. More... | |
virtual void | OnSettingResetEnd ()=0 |
Happens after preferences reset. More... | |
Private Types | |
using | KeyValueStorage = std::vector< std::pair< wxString, wxString > > |
Private Attributes | |
std::optional< KeyValueStorage > | mStorage |
Definition at line 20 of file ModuleSettings.cpp.
|
private |
Definition at line 22 of file ModuleSettings.cpp.
|
inlineoverride |
Definition at line 26 of file ModuleSettings.cpp.
References mStorage.
|
inlineoverridevirtual |
Happens before preferences reset.
Implements PreferencesResetHandler.
Definition at line 31 of file ModuleSettings.cpp.
References audacity::BasicSettings::BeginGroup(), audacity::BasicSettings::GetChildKeys(), gPrefs, audacity::BasicSettings::HasGroup(), key, mStorage, and audacity::BasicSettings::Read().
|
inlineoverridevirtual |
Happens after preferences reset.
Implements PreferencesResetHandler.
Definition at line 57 of file ModuleSettings.cpp.
References gPrefs, key, mStorage, and audacity::BasicSettings::Write().
|
private |
Definition at line 23 of file ModuleSettings.cpp.
Referenced by OnSettingResetBegin(), OnSettingResetEnd(), and ~ModuleSettingsResetHandler().