void SetSchemaRegistrar(std::function< bool(std::string_view)> registrar)
CallbackReturn Publish(const URLschemeHandlerMessage &message)
Send a message to connected callbacks.
bool RegisterScheme(std::string_view scheme)
Associates a new scheme with Audacity.
bool IsURLHandlingSupported() const noexcept
Returns true, if Audacity can handle custom URLs.
static URLSchemesRegistry & Get()
Retrieves the registry instance.
void HandleURL(std::string_view url)
std::function< bool(std::string_view)> SchemeRegistrar