| 2206 | } |
| 2207 | |
| 2208 | static bool CLAP_ABI clap_gui_set_parent(const clap_plugin_t* const plugin, const clap_window_t* const window) |
| 2209 | { |
| 2210 | PluginCLAP* const instance = static_cast<PluginCLAP*>(plugin->plugin_data); |
| 2211 | ClapUI* const gui = instance->getUI(); |
| 2212 | DISTRHO_SAFE_ASSERT_RETURN(gui != nullptr, false); |
| 2213 | return gui->setParent(window); |
| 2214 | } |
| 2215 | |
| 2216 | static bool CLAP_ABI clap_gui_set_transient(const clap_plugin_t* const plugin, const clap_window_t* const window) |
| 2217 | { |