mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
REST API: config: GET (4): optimize channel settings API management and generally improve constedness
This commit is contained in:
@@ -55,23 +55,23 @@ void SSBModPlugin::initPlugin(PluginAPI* pluginAPI)
|
||||
#ifdef SERVER_MODE
|
||||
PluginInstanceGUI* SSBModPlugin::createTxChannelGUI(
|
||||
DeviceUISet *deviceUISet,
|
||||
BasebandSampleSource *txChannel)
|
||||
BasebandSampleSource *txChannel) const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
PluginInstanceGUI* SSBModPlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel)
|
||||
PluginInstanceGUI* SSBModPlugin::createTxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSource *txChannel) const
|
||||
{
|
||||
return SSBModGUI::create(m_pluginAPI, deviceUISet, txChannel);
|
||||
}
|
||||
#endif
|
||||
|
||||
BasebandSampleSource* SSBModPlugin::createTxChannelBS(DeviceAPI *deviceAPI)
|
||||
BasebandSampleSource* SSBModPlugin::createTxChannelBS(DeviceAPI *deviceAPI) const
|
||||
{
|
||||
return new SSBMod(deviceAPI);
|
||||
}
|
||||
|
||||
ChannelAPI* SSBModPlugin::createTxChannelCS(DeviceAPI *deviceAPI)
|
||||
ChannelAPI* SSBModPlugin::createTxChannelCS(DeviceAPI *deviceAPI) const
|
||||
{
|
||||
return new SSBMod(deviceAPI);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user