mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-24 19:00:36 -05:00
37 lines
902 B
C++
37 lines
902 B
C++
#include <plugin/plugininstancegui.h>
|
|
#include "dsp/devicesamplesource.h"
|
|
#include "dsp/devicesamplesink.h"
|
|
#include "dsp/devicesamplemimo.h"
|
|
#include "plugin/plugininterface.h"
|
|
|
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceGUI(PluginInstanceGUI *ui)
|
|
{
|
|
if (ui) { ui->destroy(); }
|
|
}
|
|
|
|
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
|
|
{
|
|
if (source) { source->destroy(); }
|
|
}
|
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceGUI(PluginInstanceGUI *ui)
|
|
{
|
|
if (ui) { ui->destroy(); }
|
|
}
|
|
|
|
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
|
|
{
|
|
if (sink) { sink->destroy(); }
|
|
}
|
|
|
|
void PluginInterface::deleteSampleMIMOPluginInstanceGUI(PluginInstanceGUI *ui)
|
|
{
|
|
if (ui) { ui->destroy(); }
|
|
}
|
|
|
|
void PluginInterface::deleteSampleMIMOPluginInstanceMIMO(DeviceSampleMIMO *mimo)
|
|
{
|
|
if (mimo) { mimo->destroy(); }
|
|
}
|