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