sdrangel/sdrbase/plugin/plugininterface.cpp

26 wiersze
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();
}