| 37 | }; |
| 38 | |
| 39 | JsonCheckboxImpl::JsonCheckboxImpl(const fl::string &name, bool value) FL_NOEXCEPT { |
| 40 | // Create an instance of the new internal class |
| 41 | mInternal = fl::make_shared<JsonUiCheckboxInternal>(name, value); |
| 42 | |
| 43 | // Register the component with the JsonUiManager |
| 44 | addJsonUiComponent(mInternal); |
| 45 | } |
| 46 | |
| 47 | JsonCheckboxImpl::~JsonCheckboxImpl() { |
| 48 | // Ensure the component is removed from the global registry |
nothing calls this directly
no test coverage detected