14#ifndef __AUDACITY_APP__
15#define __AUDACITY_APP__
29class wxSingleInstanceChecker;
60 void OnIdle( wxIdleEvent & );
86 void OnTimer(wxTimerEvent & event);
94 void MacOpenFile(
const wxString &fileName)
override;
97 #ifdef HAS_CUSTOM_URL_HANDLING
98 void MacOpenURL(
const wxString &url)
override;
102 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) && !defined(__CYGWIN__)
135#if defined(__WXMSW__)
138 std::unique_ptr<wxSocketServer>
mIPCServ;
142 DECLARE_EVENT_TABLE()
An event 'envelope' for sending Command objects through the wxwidgets event loop.
AudacityApp is the 'main' class for Audacity.
void OnQueryEndSession(wxCloseEvent &event)
void OnMenuExit(wxCommandEvent &event)
void MacPrintFile(const wxString &fileName) override
bool OSXIsGUIApplication() override
bool MRUOpen(const FilePath &fileName)
void OnKeyDown(wxKeyEvent &event)
void OnMenuPreferences(wxCommandEvent &event)
bool OnExceptionInMainLoop() override
void OnServerEvent(wxSocketEvent &evt)
void OnEndSession(wxCloseEvent &event)
void MacNewFile() override
void OnTimer(wxTimerEvent &event)
std::unique_ptr< wxSplashScreen > mSplashScreen
bool Initialize(int &argc, wxChar **argv) override
std::unique_ptr< CommandHandler > mCmdHandler
std::unique_ptr< wxSingleInstanceChecker > mChecker
void MacFinishLaunching()
Observer::Subscription mThemeChangeSubscription
void OnMRUFile(wxCommandEvent &event)
void AssociateFileTypes()
void OnMenuOpen(wxCommandEvent &event)
std::unique_ptr< wxCmdLineParser > ParseCommandLine()
void OnFatalException() override
void OnIdle(wxIdleEvent &)
void OnMRUClear(wxCommandEvent &event)
int OnExit(void) override
void OnMenuAbout(wxCommandEvent &event)
void HideSplashScreen(bool fadeOut=true)
bool CreateSingleInstanceChecker(const wxString &dir)
void InitCommandHandler()
void MacOpenFile(const wxString &fileName) override
void OnMenuNew(wxCommandEvent &event)
static void OnThemeChange(struct ThemeChangeMessage)
bool SafeMRUOpen(const wxString &fileName)
void OnReceiveCommand(AppCommandEvent &event)
std::unique_ptr< IPCServ > mIPCServ
void OnSocketEvent(wxSocketEvent &evt)
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Contains methods for applying commands that are passed to it.
Singleton class which actually imports the audio, using ImportPlugin objects that are registered by m...
A move-only handle representing a connection to a Publisher.
UTILITY_API const char *const * argv
A copy of argv; responsibility of application startup to assign it.
UTILITY_API int argc
A copy of argc; responsibility of application startup to assign it.
BuiltinEffectsModule::Registration< FadeOut > fadeOut