2017-09-25 22:22:08 +00:00
|
|
|
#include <plugin/plugininstancegui.h>
|
2017-09-16 08:45:08 +00:00
|
|
|
#include "dsp/devicesamplesource.h"
|
2017-09-16 09:34:25 +00:00
|
|
|
#include "dsp/devicesamplesink.h"
|
2019-05-18 04:30:37 +00:00
|
|
|
#include "dsp/devicesamplemimo.h"
|
2014-05-18 15:52:39 +00:00
|
|
|
#include "plugin/plugininterface.h"
|
2017-09-16 08:45:08 +00:00
|
|
|
|
|
|
|
|
2017-09-25 22:22:08 +00:00
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceGUI(PluginInstanceGUI *ui)
|
2017-09-16 08:45:08 +00:00
|
|
|
{
|
2017-10-30 01:15:59 +00:00
|
|
|
if (ui) { ui->destroy(); }
|
2017-09-16 08:45:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
|
|
|
|
{
|
2017-10-30 01:15:59 +00:00
|
|
|
if (source) { source->destroy(); }
|
2017-09-16 08:45:08 +00:00
|
|
|
}
|
|
|
|
|
2017-09-25 22:22:08 +00:00
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceGUI(PluginInstanceGUI *ui)
|
2017-09-16 08:45:08 +00:00
|
|
|
{
|
2017-10-30 01:15:59 +00:00
|
|
|
if (ui) { ui->destroy(); }
|
2017-09-16 08:45:08 +00:00
|
|
|
}
|
|
|
|
|
2017-09-16 09:34:25 +00:00
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
|
|
|
|
{
|
2017-10-30 01:15:59 +00:00
|
|
|
if (sink) { sink->destroy(); }
|
2017-09-16 09:34:25 +00:00
|
|
|
}
|
2019-05-18 04:30:37 +00:00
|
|
|
|
|
|
|
void PluginInterface::deleteSampleMIMOPluginInstanceGUI(PluginInstanceGUI *ui)
|
|
|
|
{
|
|
|
|
if (ui) { ui->destroy(); }
|
|
|
|
}
|
|
|
|
|
|
|
|
void PluginInterface::deleteSampleMIMOPluginInstanceMIMO(DeviceSampleMIMO *mimo)
|
|
|
|
{
|
|
|
|
if (mimo) { mimo->destroy(); }
|
|
|
|
}
|