| 41 | }; |
| 42 | |
| 43 | JsonDescriptionImpl::JsonDescriptionImpl(const string &text) FL_NOEXCEPT { |
| 44 | // Create an instance of the new internal class |
| 45 | mInternal = fl::make_shared<JsonUiDescriptionInternal>("description", text); |
| 46 | |
| 47 | // Register the component with the JsonUiManager |
| 48 | addJsonUiComponent(fl::weak_ptr<JsonUiInternal>(mInternal)); |
| 49 | } |
| 50 | |
| 51 | JsonDescriptionImpl::~JsonDescriptionImpl() { |
| 52 | // Ensure the component is removed from the global registry |
nothing calls this directly
no test coverage detected