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);
A 0 argument callback which deletes itself after it's run.
Definition Callback.h:141
void SetOnClose(OnCloseCallback *on_close)
Set the callback to be run when the descriptor is closed.
Definition Descriptor.h:355
Definition UsbSerialDevice.h:36
The namespace containing all OLA symbols.
Definition Credentials.cpp:44