1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Channel plugins: use specialized ChannelGUI superclass. Handle GUI lifecycle in MainWindow

This commit is contained in:
f4exb
2020-10-04 06:16:15 +02:00
parent 4ab683fa7d
commit b1c9a35dcb
116 changed files with 314 additions and 210 deletions
@@ -71,14 +71,14 @@ void PacketModPlugin::createTxChannel(DeviceAPI *deviceAPI, BasebandSampleSource
}
#ifdef SERVER_MODE
PluginInstanceGUI* PacketModPlugin::createTxChannelGUI(
ChannelGUI* PacketModPlugin::createTxChannelGUI(
DeviceUISet *deviceUISet,
BasebandSampleSource *txChannel) const
{
return 0;
}
#else
PluginInstanceGUI* PacketModPlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) const
ChannelGUI* PacketModPlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) const
{
return PacketModGUI::create(m_pluginAPI, deviceUISet, txChannel);
}