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. | |
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.
| std::string pulp::view::RecognitionEntry::component_set_key |
Figma published component-set key (authoritative identity).
Empty when the entry is name-prefix only.
| 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).
| 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.
| 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.