1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 05:11:49 -05:00
sdrangel/sdrbase/plugin/plugininterface.cpp

26 lines
568 B
C++

#include "dsp/devicesamplesource.h"
#include "dsp/devicesamplesink.h"
#include "plugin/plugininterface.h"
#include "plugininstanceui.h"
void PluginInterface::deleteSampleSourcePluginInstanceGUI(PluginInstanceUI *ui)
{
ui->destroy();
}
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
{
source->destroy();
}
void PluginInterface::deleteSampleSinkPluginInstanceGUI(PluginInstanceUI *ui)
{
ui->destroy();
}
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
{
sink->destroy();
}