Audacity 3.2.0
Private Member Functions | List of all members
App Class Referencefinal
Inheritance diagram for App:
[legend]
Collaboration diagram for App:
[legend]

Private Member Functions

bool OnInit () override
 

Detailed Description

Definition at line 47 of file imageCompilerMain.cpp.

Member Function Documentation

◆ OnInit()

bool App::OnInit ( )
overrideprivate

Definition at line 75 of file imageCompilerMain.cpp.

76{
77 // Leave no persistent side-effect on preferences
79
80 // So that the program can interpret PNG
81 wxInitAllImageHandlers();
82
85
86 // Quit without any user interaction
87 CallAfter( []{ wxExit(); } );
88 return true;
89}
THEME_API Theme theTheme
Definition: Theme.cpp:82
Makes temporary changes to preferences, then rolls them back at destruction.
Definition: Prefs.h:120
void SaveThemeAsCode()
void LoadThemeComponents(bool bOkIfNotFound=false)
Definition: Theme.cpp:972
void CallAfter(Action action)
Schedule an action to be done later, and in the main thread.
Definition: BasicUI.cpp:212
static CommandContext::TargetFactory::SubstituteInUnique< InteractiveOutputTargets > scope

References BasicUI::CallAfter(), ThemeBase::LoadThemeComponents(), ThemeBase::SaveThemeAsCode(), anonymous_namespace{wxCommandTargets.cpp}::scope, and theTheme.

Here is the call graph for this function:

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