kopia lustrzana https://github.com/f4exb/sdrangel
26 wiersze
632 B
C++
26 wiersze
632 B
C++
#include <plugin/plugininstancegui.h>
|
|
#include "dsp/devicesamplesource.h"
|
|
#include "dsp/devicesamplesink.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(); }
|
|
}
|