mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Moved device sink and source APIs amd plugin interface back to sdrbase
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#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(); }
|
||||
}
|
||||
Reference in New Issue
Block a user