Audacity 3.2.0
|
Namespaces | |
namespace | anonymous_namespace{AppEvents.cpp} |
Classes | |
class | ProviderBase |
Functions | |
void | OnAppInitialized (std::function< void()> callback) |
void | OnAppClosing (std::function< void()> callback) |
Observer::Subscription | OnAppIdle (std::function< void()> callback) |
UTILITY_API void AppEvents::OnAppClosing | ( | std::function< void()> | callback | ) |
Register callback to be called when application is closing.
callback | Callback to be called when application is initialized. |
!!calback
Definition at line 57 of file AppEvents.cpp.
References AppEvents::anonymous_namespace{AppEvents.cpp}::GetEventHandlers().
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncHousekeeper.cpp}::Housekeeper::Housekeeper().
UTILITY_API Observer::Subscription AppEvents::OnAppIdle | ( | std::function< void()> | callback | ) |
Register callback to be called when application is idle.
callback | Callback to be called when application is idle. |
!!calback
Definition at line 72 of file AppEvents.cpp.
References AppEvents::anonymous_namespace{AppEvents.cpp}::GetEventHandlers(), and Observer::Publisher< Message, NotifyAll >::Subscribe().
UTILITY_API void AppEvents::OnAppInitialized | ( | std::function< void()> | callback | ) |
Register callback to be called when application is initialized. If application is already initialized, callback will be called immediately.
callback | Callback to be called when application is initialized. |
!!calback
Definition at line 42 of file AppEvents.cpp.
References AppEvents::anonymous_namespace{AppEvents.cpp}::GetEventHandlers().
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncHousekeeper.cpp}::Housekeeper::Housekeeper(), and anonymous_namespace{ProjectStatus.cpp}::Dispatcher::NewFieldRegistered().