Audacity 3.2.0
|
Allows custom logic for preferences reset event. More...
#include <Prefs.h>
Classes | |
struct | Registration |
Performs single-time global handler registration. More... | |
Public Member Functions | |
virtual | ~PreferencesResetHandler () |
virtual void | OnSettingResetBegin ()=0 |
Happens before preferences reset. More... | |
virtual void | OnSettingResetEnd ()=0 |
Happens after preferences reset. More... | |
Static Private Member Functions | |
static void | Register (std::unique_ptr< PreferencesResetHandler > handler) |
|
virtualdefault |
|
pure virtual |
Happens before preferences reset.
Implemented in audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::OAuthServiceSettingsResetHandler, ModuleSettingsResetHandler, and StickySetting< SettingType >::ResetHandler.
|
pure virtual |
Happens after preferences reset.
Implemented in audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::OAuthServiceSettingsResetHandler, ModuleSettingsResetHandler, and StickySetting< SettingType >::ResetHandler.
|
staticprivate |
Definition at line 495 of file Prefs.cpp.
References BasicUI::Get(), and audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler.