mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Separate construction/destruction for the source input plugin core and the GUI
This commit is contained in:
@@ -1 +1,20 @@
|
||||
#include "dsp/devicesamplesource.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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user