21 #ifndef PLUGINS_USBPRO_USBSERIALDEVICE_H_
22 #define PLUGINS_USBPRO_USBSERIALDEVICE_H_
26 #include "olad/Device.h"
27 #include "plugins/usbpro/SerialWidgetInterface.h"
39 const std::string &name,
51 m_widget->GetDescriptor()->
SetOnClose(on_close);
62 #endif // PLUGINS_USBPRO_USBSERIALDEVICE_H_
A 0 arg, single use callback that returns void.
Definition: Callback.h:157
void SetOnClose(OnCloseCallback *on_close)
Set the callback to be run when the descriptor is closed.
Definition: Descriptor.h:354
Definition: UsbSerialDevice.h:36
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44