| 43 | }; |
| 44 | |
| 45 | JsonHelpImpl::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 | |
| 53 | JsonHelpImpl::~JsonHelpImpl() { |
| 54 | // Ensure the component is removed from the global registry |
nothing calls this directly
no test coverage detected