| 39 | }; |
| 40 | |
| 41 | JsonButtonImpl::JsonButtonImpl(const string &name) FL_NOEXCEPT { |
| 42 | // Create an instance of the new internal class |
| 43 | mInternal = fl::make_shared<JsonUiButtonInternal>(name, false); |
| 44 | |
| 45 | // Register the component with the JsonUiManager |
| 46 | addJsonUiComponent(mInternal); |
| 47 | mUpdater.init(this); |
| 48 | } |
| 49 | |
| 50 | JsonButtonImpl::~JsonButtonImpl() { |
| 51 | // Ensure the component is removed from the global registry |
nothing calls this directly
no test coverage detected