21 #ifndef PLUGINS_USBDMX_SCANLIMEFADECANDYFACTORY_H_
22 #define PLUGINS_USBDMX_SCANLIMEFADECANDYFACTORY_H_
24 #include "libs/usb/LibUsbAdaptor.h"
26 #include "plugins/usbdmx/WidgetFactory.h"
40 m_missing_serial_number(
false),
46 libusb_device *usb_device,
47 const struct libusb_device_descriptor &descriptor);
50 bool m_missing_serial_number;
53 static const char EXPECTED_MANUFACTURER[];
54 static const char EXPECTED_PRODUCT[];
55 static const uint16_t PRODUCT_ID;
56 static const uint16_t VENDOR_ID;
63 #endif // PLUGINS_USBDMX_SCANLIMEFADECANDYFACTORY_H_
bool DeviceAdded(WidgetObserver *observer, libusb_device *usb_device, const struct libusb_device_descriptor &descriptor)
Called when a new USB device is added.
Definition: ScanlimeFadecandyFactory.cpp:42
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Creates Fadecandy widgets.
Definition: ScanlimeFadecandyFactory.h:35
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36