22 : m_CustomWidgetFactory(0), m_CustomVideoDeviceWidget(0)
28 delete m_CustomWidgetFactory;
29 delete m_CustomVideoDeviceWidget;
31 if ( m_ServiceRegistration ) { m_ServiceRegistration.Unregister(); }
38 if ( ! m_CustomVideoDeviceWidget )
45 if ( ! m_CustomWidgetFactory )
51 m_ServiceRegistration = m_CustomWidgetFactory->RegisterService(context);
56 m_ServiceRegistration.Unregister();
57 m_ServiceRegistration = 0;
59 delete m_CustomWidgetFactory;
60 m_CustomWidgetFactory = 0;
62 delete m_CustomVideoDeviceWidget;
63 m_CustomVideoDeviceWidget = 0;
void Load(us::ModuleContext *context) override
void Unload(us::ModuleContext *context) override