Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::RecognitionEntry Struct Reference

One recognition source: a flat map of a designer's component identity to the Pulp control it materializes. More...

#include <recognition_resolver.hpp>

Public Attributes

AudioWidgetType kind = AudioWidgetType::none
 Pulp built-in control kind.
std::string component_set_key
 Figma published component-set key (authoritative identity).
std::string name_prefix
 Optional layer/component name prefix fallback (case-insensitive), used when no key matched.
std::string factory_id
 #4677 (custom controls): the registered factory id this identity resolves to.

Detailed Description

One recognition source: a flat map of a designer's component identity to the Pulp control it materializes.

Mirrors the library-manifest.json widget shape (component_set_key + optional name_prefix), generalized to also carry a custom-control factory_id for the #4677 installed-package lane.

Member Data Documentation

◆ component_set_key

std::string pulp::view::RecognitionEntry::component_set_key

Figma published component-set key (authoritative identity).

Empty when the entry is name-prefix only.

◆ factory_id

std::string pulp::view::RecognitionEntry::factory_id

#4677 (custom controls): the registered factory id this identity resolves to.

Empty for built-in-kind entries. When set, a resolved control is a custom overlay built by register_design_control_factory(factory_id).

◆ kind

AudioWidgetType pulp::view::RecognitionEntry::kind = AudioWidgetType::none

Pulp built-in control kind.

AudioWidgetType::none means "this entry maps to a custom factory, not a built-in widget" — factory_id is then set.

◆ name_prefix

std::string pulp::view::RecognitionEntry::name_prefix

Optional layer/component name prefix fallback (case-insensitive), used when no key matched.

Empty disables the prefix fallback for this entry.


The documentation for this struct was generated from the following file: