Audacity 3.2.0
LinkUrlHandler.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 LinkUrlHandler.cpp
7
8 Dmitry Vedenko
9
10**********************************************************************/
11
12#include "URLSchemesRegistry.h"
13
14#include "ServiceConfig.h"
15#include "OAuthService.h"
16
17namespace
18{
20 [](URLschemeHandlerMessage message)
21 {
23 });
24}
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
Definition: Observer.h:199
static URLSchemesRegistry & Get()
Retrieves the registry instance.
void HandleLinkURI(std::string_view uri, std::function< void(std::string_view)> completedHandler)
Handle the OAuth callback.
OAuthService & GetOAuthService()
Returns the instance of the OAuthService.
A message that is invoked when a custom-scheme URL is passed to Audacity.