Audacity
3.2.0
libraries
lib-url-schemes
SchemeRegistrar.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
SchemeRegistrar.cpp
7
8
Dmitry Vedenko
9
10
**********************************************************************/
11
12
#include <string_view>
13
#include <functional>
14
15
void
SetSchemaRegistrar
(std::function<
bool
(std::string_view)>
registrar
);
16
17
auto
registrar
= ([]() {
18
SetSchemaRegistrar
([](std::string_view) {
return
true
; });
19
return
true
;
20
})();
registrar
auto registrar
Definition:
SchemeRegistrar.cpp:17
SetSchemaRegistrar
void SetSchemaRegistrar(std::function< bool(std::string_view)> registrar)
Definition:
URLSchemesRegistry.cpp:25
Generated by
1.9.3