mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow
This commit is contained in:
@@ -73,14 +73,14 @@ void LocalSourcePlugin::createTxChannel(DeviceAPI *deviceAPI, BasebandSampleSour
|
||||
}
|
||||
|
||||
#ifdef SERVER_MODE
|
||||
PluginInstanceGUI* LocalSourcePlugin::createTxChannelGUI(
|
||||
ChannelGUI* LocalSourcePlugin::createTxChannelGUI(
|
||||
DeviceUISet *deviceUISet,
|
||||
BasebandSampleSource *txChannel) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
PluginInstanceGUI* LocalSourcePlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) const
|
||||
ChannelGUI* LocalSourcePlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) const
|
||||
{
|
||||
return LocalSourceGUI::create(m_pluginAPI, deviceUISet, txChannel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user