![]() |
Audacity 3.2.0
|
Go to the source code of this file.
Namespaces | |
namespace | BasicUI |
Macros | |
#define | HAS_XDG_OPEN_HELPER (defined(__linux__) && !defined __ANDROID__) || defined (__FreeBSD__) || defined (__NetBSD__) || defined(__OpenBSD__) |
Functions | |
Services * | BasicUI::Get () |
Fetch the global instance, or nullptr if none is yet installed. More... | |
Services * | BasicUI::Install (Services *pInstance) |
Install an implementation; return the previously installed instance. More... | |
Functions that invoke global Services | |
These dispatch to the global Services, if supplied. If none was supplied, they are mostly no-ops, with exceptions as noted. All should be called on the main thread only, except as noted. | |
void | BasicUI::CallAfter (Action action) |
Schedule an action to be done later, and in the main thread. More... | |
void | BasicUI::Yield () |
Dispatch waiting events, including actions enqueued by CallAfter. More... | |
bool | BasicUI::OpenInDefaultBrowser (const wxString &url) |
Open an URL in default browser. More... | |
Types used in the Services interface | |
TranslatableString | BasicUI::DefaultCaption () |
"Message", suitably translated More... | |
Variables | |
static Services * | BasicUI::theInstance = nullptr |
static std::recursive_mutex | BasicUI::sActionsMutex |
static std::vector< Action > | BasicUI::sActions |
#define HAS_XDG_OPEN_HELPER (defined(__linux__) && !defined __ANDROID__) || defined (__FreeBSD__) || defined (__NetBSD__) || defined(__OpenBSD__) |
Definition at line 15 of file BasicUI.cpp.