MCPcopy Create free account
hub / github.com/FastLED/FastLED / JsonHelpImpl

Method JsonHelpImpl

src/platforms/shared/ui/json/help.cpp.hpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45JsonHelpImpl::JsonHelpImpl(const string &markdownContent) FL_NOEXCEPT {
46 // Create an instance of the new internal class
47 mInternal = fl::make_shared<JsonUiHelpInternal>("help", markdownContent);
48
49 // Register the component with the JsonUiManager
50 addJsonUiComponent(fl::weak_ptr<JsonUiInternal>(mInternal));
51}
52
53JsonHelpImpl::~JsonHelpImpl() {
54 // Ensure the component is removed from the global registry

Callers

nothing calls this directly

Calls 1

addJsonUiComponentFunction · 0.85

Tested by

no test coverage detected