1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 11:34:09 -04:00

Added mod constructor interface in the plugin API. Created method in all Tx channel plugins

This commit is contained in:
f4exb
2017-11-08 17:09:25 +01:00
parent 4ad038ed9d
commit 9c68da780e
36 changed files with 133 additions and 52 deletions
+1 -3
View File
@@ -34,8 +34,6 @@
#include "dsp/dspengine.h"
#include "mainwindow.h"
const QString AMModGUI::m_channelID = "sdrangel.channeltx.modam";
AMModGUI* AMModGUI::create(PluginAPI* pluginAPI, DeviceUISet *deviceUISet)
{
AMModGUI* gui = new AMModGUI(pluginAPI, deviceUISet);
@@ -306,7 +304,7 @@ AMModGUI::AMModGUI(PluginAPI* pluginAPI, DeviceUISet *deviceUISet, QWidget* pare
connect(&m_channelMarker, SIGNAL(changed()), this, SLOT(channelMarkerChanged()));
m_deviceUISet->registerTxChannelInstance(m_channelID, this);
m_deviceUISet->registerTxChannelInstance(AMMod::m_channelID, this);
m_deviceUISet->addChannelMarker(&m_channelMarker);
m_deviceUISet->addRollupWidget(this);