MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / openBrowser

Function openBrowser

src/CardinalCommon.cpp:1199–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199void openBrowser(const std::string& url)
1200{
1201#ifdef DISTRHO_OS_WASM
1202 EM_ASM({
1203 window.open(UTF8ToString($0), '_blank');
1204 }, url.c_str());
1205#else
1206 system::openBrowser(url);
1207#endif
1208}
1209
1210}
1211

Callers 1

onActionMethod · 0.70

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected