MCPcopy Create free account
hub / github.com/DISTRHO/DPF / programLoaded

Method programLoaded

distrho/src/DistrhoUI.cpp:467–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465
466#if DISTRHO_PLUGIN_WANT_PROGRAMS
467void UI::programLoaded(const uint32_t index)
468{
469 #if DISTRHO_UI_USE_WEB_VIEW
470 if (uiData->webview != nullptr)
471 {
472 char msg[128];
473 std::snprintf(msg, sizeof(msg) - 1,
474 "typeof(programLoaded) === 'function' && programLoaded(%u)", index);
475 webViewEvaluateJS(uiData->webview, msg);
476 }
477 #else
478 // unused
479 (void)index;
480 #endif
481}
482#endif
483
484#if DISTRHO_PLUGIN_WANT_STATE

Callers 9

notifyFunction · 0.80
PluginJackMethod · 0.80
idleCallbackMethod · 0.80
dssiui_programMethod · 0.80
lv2ui_select_programMethod · 0.80
carla_setMidiProgramFunction · 0.80
programLoadedFunction · 0.80
setProgramFromPluginMethod · 0.80
createUIMethod · 0.80

Calls 1

webViewEvaluateJSFunction · 0.85

Tested by

no test coverage detected