From 5f7102a80f83ecd0c568d518f9c3c0d1f86fd7bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sat, 4 Jul 2026 21:49:38 -0400 Subject: [PATCH] clap: wire the soft-UI implementation into the plug-in entry point When AVND_CLAP_UI is defined, emit the Nuklear + canvas_ity soft-UI implementation exactly once per plug-in. Part of the custom-UI effort; split out of the clap entry-symbol fix (#140) so each PR is one concern. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01JH7HS58wPSA22HztHZsakd --- include/avnd/binding/clap/prototype.cpp.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/avnd/binding/clap/prototype.cpp.in b/include/avnd/binding/clap/prototype.cpp.in index 5a3a9bf6..cd10b770 100644 --- a/include/avnd/binding/clap/prototype.cpp.in +++ b/include/avnd/binding/clap/prototype.cpp.in @@ -4,6 +4,11 @@ #include #include +#if defined(AVND_CLAP_UI) +// Emit the Nuklear + canvas_ity implementations exactly once per plug-in. +#include +#endif + // clang-format off using plug_type = decltype(avnd::configure())::type; using effect_type = avnd_clap::SimpleAudioEffect;