21 #ifndef PLUGINS_USBDMX_EUROLITEPROFACTORY_H_
22 #define PLUGINS_USBDMX_EUROLITEPROFACTORY_H_
24 #include "libs/usb/LibUsbAdaptor.h"
26 #include "plugins/usbdmx/EurolitePro.h"
27 #include "plugins/usbdmx/WidgetFactory.h"
43 libusb_device *usb_device,
44 const struct libusb_device_descriptor &descriptor);
49 static const uint16_t PRODUCT_ID;
50 static const uint16_t VENDOR_ID;
51 static const char EXPECTED_MANUFACTURER[];
52 static const char EXPECTED_PRODUCT[];
60 #endif // PLUGINS_USBDMX_EUROLITEPROFACTORY_H_
bool DeviceAdded(WidgetObserver *observer, libusb_device *usb_device, const struct libusb_device_descriptor &descriptor)
Called when a new USB device is added.
Definition: EuroliteProFactory.cpp:40
Creates EurolitePro widgets.
Definition: EuroliteProFactory.h:36
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Wraps calls to libusb so we can test the code.
Definition: LibUsbAdaptor.h:36