mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
Reset PluginInstanceGUI to its original name
This commit is contained in:
parent
f270eff41d
commit
0b6eb2129a
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_CHANNELANALYZERGUI_H
|
#ifndef INCLUDE_CHANNELANALYZERGUI_H
|
||||||
#define INCLUDE_CHANNELANALYZERGUI_H
|
#define INCLUDE_CHANNELANALYZERGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -37,7 +37,7 @@ namespace Ui {
|
|||||||
class ChannelAnalyzerGUI;
|
class ChannelAnalyzerGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ChannelAnalyzerGUI : public RollupWidget, public PluginInstanceUI {
|
class ChannelAnalyzerGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void ChannelAnalyzerPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(ChannelAnalyzerGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(ChannelAnalyzerGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* ChannelAnalyzerPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* ChannelAnalyzerPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == ChannelAnalyzerGUI::m_channelID)
|
if(channelName == ChannelAnalyzerGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_CHANNELANALYZERNGGUI_H
|
#ifndef INCLUDE_CHANNELANALYZERNGGUI_H
|
||||||
#define INCLUDE_CHANNELANALYZERNGGUI_H
|
#define INCLUDE_CHANNELANALYZERNGGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -37,7 +37,7 @@ namespace Ui {
|
|||||||
class ChannelAnalyzerNGGUI;
|
class ChannelAnalyzerNGGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ChannelAnalyzerNGGUI : public RollupWidget, public PluginInstanceUI {
|
class ChannelAnalyzerNGGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -48,7 +48,7 @@ void ChannelAnalyzerNGPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(ChannelAnalyzerNGGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(ChannelAnalyzerNGGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* ChannelAnalyzerNGPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* ChannelAnalyzerNGPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == ChannelAnalyzerNGGUI::m_channelID)
|
if(channelName == ChannelAnalyzerNGGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef INCLUDE_AMDEMODGUI_H
|
#ifndef INCLUDE_AMDEMODGUI_H
|
||||||
#define INCLUDE_AMDEMODGUI_H
|
#define INCLUDE_AMDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -18,7 +18,7 @@ namespace Ui {
|
|||||||
class AMDemodGUI;
|
class AMDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class AMDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class AMDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void AMDemodPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(AMDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(AMDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* AMDemodPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* AMDemodPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == AMDemodGUI::m_channelID)
|
if(channelName == AMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
#ifndef INCLUDE_ATVDEMODGUI_H
|
#ifndef INCLUDE_ATVDEMODGUI_H
|
||||||
#define INCLUDE_ATVDEMODGUI_H
|
#define INCLUDE_ATVDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -37,7 +37,7 @@ namespace Ui
|
|||||||
class ATVDemodGUI;
|
class ATVDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ATVDemodGUI : public RollupWidget, public PluginInstanceUI
|
class ATVDemodGUI : public RollupWidget, public PluginInstanceGUI
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ void ATVDemodPlugin::initPlugin(PluginAPI* ptrPluginAPI)
|
|||||||
m_ptrPluginAPI->registerRxChannel(ATVDemodGUI::m_strChannelID, this);
|
m_ptrPluginAPI->registerRxChannel(ATVDemodGUI::m_strChannelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* ATVDemodPlugin::createRxChannel(const QString& strChannelName, DeviceSourceAPI *ptrDeviceAPI)
|
PluginInstanceGUI* ATVDemodPlugin::createRxChannel(const QString& strChannelName, DeviceSourceAPI *ptrDeviceAPI)
|
||||||
{
|
{
|
||||||
if(strChannelName == ATVDemodGUI::m_strChannelID)
|
if(strChannelName == ATVDemodGUI::m_strChannelID)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* ptrPluginAPI);
|
void initPlugin(PluginAPI* ptrPluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& strChannelName, DeviceSourceAPI *ptrDeviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& strChannelName, DeviceSourceAPI *ptrDeviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_ptrPluginDescriptor;
|
static const PluginDescriptor m_ptrPluginDescriptor;
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
#ifndef INCLUDE_BFMDEMODGUI_H
|
#ifndef INCLUDE_BFMDEMODGUI_H
|
||||||
#define INCLUDE_BFMDEMODGUI_H
|
#define INCLUDE_BFMDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "rdsparser.h"
|
#include "rdsparser.h"
|
||||||
@ -38,7 +38,7 @@ namespace Ui {
|
|||||||
class BFMDemodGUI;
|
class BFMDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class BFMDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class BFMDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -50,7 +50,7 @@ void BFMPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(BFMDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(BFMDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* BFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* BFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == BFMDemodGUI::m_channelID)
|
if(channelName == BFMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
#ifndef INCLUDE_DSDDEMODGUI_H
|
#ifndef INCLUDE_DSDDEMODGUI_H
|
||||||
#define INCLUDE_DSDDEMODGUI_H
|
#define INCLUDE_DSDDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
|
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/dsptypes.h"
|
#include "dsp/dsptypes.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -39,7 +39,7 @@ namespace Ui {
|
|||||||
class DSDDemodGUI;
|
class DSDDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class DSDDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class DSDDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -50,7 +50,7 @@ void DSDDemodPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(DSDDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(DSDDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* DSDDemodPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* DSDDemodPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == DSDDemodGUI::m_channelID)
|
if(channelName == DSDDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#ifndef INCLUDE_LoRaDEMODGUI_H
|
#ifndef INCLUDE_LoRaDEMODGUI_H
|
||||||
#define INCLUDE_LoRaDEMODGUI_H
|
#define INCLUDE_LoRaDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#define BANDWIDTHSTRING {7813,15625,20833,31250,62500}
|
#define BANDWIDTHSTRING {7813,15625,20833,31250,62500}
|
||||||
@ -19,7 +19,7 @@ namespace Ui {
|
|||||||
class LoRaDemodGUI;
|
class LoRaDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class LoRaDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class LoRaDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void LoRaPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(LoRaDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(LoRaDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* LoRaPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* LoRaPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == LoRaDemodGUI::m_channelID)
|
if(channelName == LoRaDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#ifndef INCLUDE_NFMDEMODGUI_H
|
#ifndef INCLUDE_NFMDEMODGUI_H
|
||||||
#define INCLUDE_NFMDEMODGUI_H
|
#define INCLUDE_NFMDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/dsptypes.h"
|
#include "dsp/dsptypes.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -19,7 +19,7 @@ namespace Ui {
|
|||||||
class NFMDemodGUI;
|
class NFMDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class NFMDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class NFMDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void NFMPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(NFMDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(NFMDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* NFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* NFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == NFMDemodGUI::m_channelID) {
|
if(channelName == NFMDemodGUI::m_channelID) {
|
||||||
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef INCLUDE_SSBDEMODGUI_H
|
#ifndef INCLUDE_SSBDEMODGUI_H
|
||||||
#define INCLUDE_SSBDEMODGUI_H
|
#define INCLUDE_SSBDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -20,7 +20,7 @@ namespace Ui {
|
|||||||
class SSBDemodGUI;
|
class SSBDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SSBDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class SSBDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void SSBPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(SSBDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(SSBDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* SSBPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* SSBPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == SSBDemodGUI::m_channelID)
|
if(channelName == SSBDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#ifndef INCLUDE_WFMDEMODGUI_H
|
#ifndef INCLUDE_WFMDEMODGUI_H
|
||||||
#define INCLUDE_WFMDEMODGUI_H
|
#define INCLUDE_WFMDEMODGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
class PluginAPI;
|
class PluginAPI;
|
||||||
@ -18,7 +18,7 @@ namespace Ui {
|
|||||||
class WFMDemodGUI;
|
class WFMDemodGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class WFMDemodGUI : public RollupWidget, public PluginInstanceUI {
|
class WFMDemodGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void WFMPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(WFMDemodGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(WFMDemodGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* WFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* WFMPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == WFMDemodGUI::m_channelID)
|
if(channelName == WFMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
#ifndef INCLUDE_TCPSRCGUI_H
|
#ifndef INCLUDE_TCPSRCGUI_H
|
||||||
#define INCLUDE_TCPSRCGUI_H
|
#define INCLUDE_TCPSRCGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
|
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "tcpsrc.h"
|
#include "tcpsrc.h"
|
||||||
@ -22,7 +22,7 @@ namespace Ui {
|
|||||||
class TCPSrcGUI;
|
class TCPSrcGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class TCPSrcGUI : public RollupWidget, public PluginInstanceUI {
|
class TCPSrcGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,7 +33,7 @@ void TCPSrcPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(TCPSrcGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(TCPSrcGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* TCPSrcPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* TCPSrcPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == TCPSrcGUI::m_channelID)
|
if(channelName == TCPSrcGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
#ifndef INCLUDE_UDPSRCGUI_H
|
#ifndef INCLUDE_UDPSRCGUI_H
|
||||||
#define INCLUDE_UDPSRCGUI_H
|
#define INCLUDE_UDPSRCGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "udpsrc.h"
|
#include "udpsrc.h"
|
||||||
@ -38,7 +38,7 @@ namespace Ui {
|
|||||||
class UDPSrcGUI;
|
class UDPSrcGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class UDPSrcGUI : public RollupWidget, public PluginInstanceUI {
|
class UDPSrcGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -50,7 +50,7 @@ void UDPSrcPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerRxChannel(UDPSrcGUI::m_channelID, this);
|
m_pluginAPI->registerRxChannel(UDPSrcGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* UDPSrcPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* UDPSrcPlugin::createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == UDPSrcGUI::m_channelID)
|
if(channelName == UDPSrcGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_MODAM_AMMODGUI_H_
|
#ifndef PLUGINS_CHANNELTX_MODAM_AMMODGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_MODAM_AMMODGUI_H_
|
#define PLUGINS_CHANNELTX_MODAM_AMMODGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "ammod.h"
|
#include "ammod.h"
|
||||||
@ -36,7 +36,7 @@ namespace Ui {
|
|||||||
class AMModGUI;
|
class AMModGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class AMModGUI : public RollupWidget, public PluginInstanceUI {
|
class AMModGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -49,7 +49,7 @@ void AMModPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(AMModGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(AMModGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* AMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* AMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == AMModGUI::m_channelID)
|
if(channelName == AMModGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_MODTV_ATVMODGUI_H_
|
#ifndef PLUGINS_CHANNELTX_MODTV_ATVMODGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_MODTV_ATVMODGUI_H_
|
#define PLUGINS_CHANNELTX_MODTV_ATVMODGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "atvmod.h"
|
#include "atvmod.h"
|
||||||
@ -37,7 +37,7 @@ namespace Ui {
|
|||||||
class ATVModGUI;
|
class ATVModGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ATVModGUI : public RollupWidget, public PluginInstanceUI {
|
class ATVModGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -49,7 +49,7 @@ void ATVModPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(ATVModGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(ATVModGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* ATVModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* ATVModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == ATVModGUI::m_channelID)
|
if(channelName == ATVModGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_MODNFM_NFMMODGUI_H_
|
#ifndef PLUGINS_CHANNELTX_MODNFM_NFMMODGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_MODNFM_NFMMODGUI_H_
|
#define PLUGINS_CHANNELTX_MODNFM_NFMMODGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "nfmmod.h"
|
#include "nfmmod.h"
|
||||||
@ -36,7 +36,7 @@ namespace Ui {
|
|||||||
class NFMModGUI;
|
class NFMModGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class NFMModGUI : public RollupWidget, public PluginInstanceUI {
|
class NFMModGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -49,7 +49,7 @@ void NFMModPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(NFMModGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(NFMModGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* NFMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* NFMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == NFMModGUI::m_channelID)
|
if(channelName == NFMModGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_MODSSB_SSBMODGUI_H_
|
#ifndef PLUGINS_CHANNELTX_MODSSB_SSBMODGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_MODSSB_SSBMODGUI_H_
|
#define PLUGINS_CHANNELTX_MODSSB_SSBMODGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "ssbmod.h"
|
#include "ssbmod.h"
|
||||||
@ -37,7 +37,7 @@ namespace Ui {
|
|||||||
class SSBModGUI;
|
class SSBModGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SSBModGUI : public RollupWidget, public PluginInstanceUI {
|
class SSBModGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -49,7 +49,7 @@ void SSBModPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(SSBModGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(SSBModGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* SSBModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* SSBModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == SSBModGUI::m_channelID)
|
if(channelName == SSBModGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_MODWFM_WFMMODGUI_H_
|
#ifndef PLUGINS_CHANNELTX_MODWFM_WFMMODGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_MODWFM_WFMMODGUI_H_
|
#define PLUGINS_CHANNELTX_MODWFM_WFMMODGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "dsp/movingaverage.h"
|
#include "dsp/movingaverage.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "wfmmod.h"
|
#include "wfmmod.h"
|
||||||
@ -36,7 +36,7 @@ namespace Ui {
|
|||||||
class WFMModGUI;
|
class WFMModGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class WFMModGUI : public RollupWidget, public PluginInstanceUI {
|
class WFMModGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -49,7 +49,7 @@ void WFMModPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(WFMModGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(WFMModGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* WFMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* WFMModPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == WFMModGUI::m_channelID)
|
if(channelName == WFMModGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#ifndef PLUGINS_CHANNELTX_UDPSINK_UDPSINKGUI_H_
|
#ifndef PLUGINS_CHANNELTX_UDPSINK_UDPSINKGUI_H_
|
||||||
#define PLUGINS_CHANNELTX_UDPSINK_UDPSINKGUI_H_
|
#define PLUGINS_CHANNELTX_UDPSINK_UDPSINKGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
#include "gui/rollupwidget.h"
|
#include "gui/rollupwidget.h"
|
||||||
#include "dsp/channelmarker.h"
|
#include "dsp/channelmarker.h"
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "udpsink.h"
|
#include "udpsink.h"
|
||||||
@ -37,7 +37,7 @@ namespace Ui {
|
|||||||
class UDPSinkGUI;
|
class UDPSinkGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class UDPSinkGUI : public RollupWidget, public PluginInstanceUI {
|
class UDPSinkGUI : public RollupWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -50,7 +50,7 @@ void UDPSinkPlugin::initPlugin(PluginAPI* pluginAPI)
|
|||||||
m_pluginAPI->registerTxChannel(UDPSinkGUI::m_channelID, this);
|
m_pluginAPI->registerTxChannel(UDPSinkGUI::m_channelID, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* UDPSinkPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* UDPSinkPlugin::createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(channelName == UDPSinkGUI::m_channelID)
|
if(channelName == UDPSinkGUI::m_channelID)
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ public:
|
|||||||
const PluginDescriptor& getPluginDescriptor() const;
|
const PluginDescriptor& getPluginDescriptor() const;
|
||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
PluginInstanceUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
PluginInstanceGUI* createTxChannel(const QString& channelName, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const PluginDescriptor m_pluginDescriptor;
|
static const PluginDescriptor m_pluginDescriptor;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_BLADERFOUTPUTGUI_H
|
#ifndef INCLUDE_BLADERFOUTPUTGUI_H
|
||||||
#define INCLUDE_BLADERFOUTPUTGUI_H
|
#define INCLUDE_BLADERFOUTPUTGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "bladerfoutput.h"
|
#include "bladerfoutput.h"
|
||||||
@ -32,7 +32,7 @@ namespace Ui {
|
|||||||
class BladerfOutputGui;
|
class BladerfOutputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class BladerfOutputGui : public QWidget, public PluginInstanceUI {
|
class BladerfOutputGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -77,7 +77,7 @@ PluginInterface::SamplingDevices BladerfOutputPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* BladerfOutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId,QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* BladerfOutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId,QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_FILESINKGUI_H
|
#ifndef INCLUDE_FILESINKGUI_H
|
||||||
#define INCLUDE_FILESINKGUI_H
|
#define INCLUDE_FILESINKGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "filesinkoutput.h"
|
#include "filesinkoutput.h"
|
||||||
@ -34,7 +34,7 @@ namespace Ui {
|
|||||||
class FileSinkGui;
|
class FileSinkGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class FileSinkGui : public QWidget, public PluginInstanceUI {
|
class FileSinkGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -69,7 +69,7 @@ PluginInterface::SamplingDevices FileSinkPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* FileSinkPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* FileSinkPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_HACKRFOUTPUTGUI_H
|
#ifndef INCLUDE_HACKRFOUTPUTGUI_H
|
||||||
#define INCLUDE_HACKRFOUTPUTGUI_H
|
#define INCLUDE_HACKRFOUTPUTGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "hackrfoutput.h"
|
#include "hackrfoutput.h"
|
||||||
@ -34,7 +34,7 @@ namespace Ui {
|
|||||||
class HackRFOutputGui;
|
class HackRFOutputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class HackRFOutputGui : public QWidget, public PluginInstanceUI {
|
class HackRFOutputGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -116,7 +116,7 @@ PluginInterface::SamplingDevices HackRFOutputPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* HackRFOutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* HackRFOutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_SAMPLESOURCE_LIMESDROUTPUT_LIMESDROUTPUTGUI_H_
|
#ifndef PLUGINS_SAMPLESOURCE_LIMESDROUTPUT_LIMESDROUTPUTGUI_H_
|
||||||
#define PLUGINS_SAMPLESOURCE_LIMESDROUTPUT_LIMESDROUTPUTGUI_H_
|
#define PLUGINS_SAMPLESOURCE_LIMESDROUTPUT_LIMESDROUTPUTGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "limesdroutput.h"
|
#include "limesdroutput.h"
|
||||||
@ -32,7 +32,7 @@ namespace Ui {
|
|||||||
class LimeSDROutputGUI;
|
class LimeSDROutputGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class LimeSDROutputGUI : public QWidget, public PluginInstanceUI {
|
class LimeSDROutputGUI : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -96,7 +96,7 @@ PluginInterface::SamplingDevices LimeSDROutputPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* LimeSDROutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId,QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* LimeSDROutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId,QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#ifndef PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTGUI_H_
|
#ifndef PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTGUI_H_
|
||||||
#define PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTGUI_H_
|
#define PLUGINS_SAMPLESOURCE_PLUTOSDROUTPUT_PLUTOSDROUTPUTGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "plutosdroutputsettings.h"
|
#include "plutosdroutputsettings.h"
|
||||||
@ -33,7 +33,7 @@ namespace Ui {
|
|||||||
class PlutoSDROutputGUI;
|
class PlutoSDROutputGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class PlutoSDROutputGUI : public QWidget, public PluginInstanceUI {
|
class PlutoSDROutputGUI : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -81,7 +81,7 @@ PluginInterface::SamplingDevices PlutoSDROutputPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* PlutoSDROutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* PlutoSDROutputPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#ifndef INCLUDE_SDRDAEMONSINKGUI_H
|
#ifndef INCLUDE_SDRDAEMONSINKGUI_H
|
||||||
#define INCLUDE_SDRDAEMONSINKGUI_H
|
#define INCLUDE_SDRDAEMONSINKGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "sdrdaemonsinksettings.h"
|
#include "sdrdaemonsinksettings.h"
|
||||||
@ -35,7 +35,7 @@ namespace Ui {
|
|||||||
class SDRdaemonSinkGui;
|
class SDRdaemonSinkGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SDRdaemonSinkGui : public QWidget, public PluginInstanceUI {
|
class SDRdaemonSinkGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -70,7 +70,7 @@ PluginInterface::SamplingDevices SDRdaemonSinkPlugin::enumSampleSinks()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* SDRdaemonSinkPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
PluginInstanceGUI* SDRdaemonSinkPlugin::createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sinkId == m_deviceTypeID)
|
if(sinkId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSinks();
|
virtual SamplingDevices enumSampleSinks();
|
||||||
virtual PluginInstanceUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSinkPluginInstanceGUI(const QString& sinkId, QWidget **widget, DeviceSinkAPI *deviceAPI);
|
||||||
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
virtual DeviceSampleSink* createSampleSinkPluginInstanceOutput(const QString& sinkId, DeviceSinkAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_AIRSPYGUI_H
|
#ifndef INCLUDE_AIRSPYGUI_H
|
||||||
#define INCLUDE_AIRSPYGUI_H
|
#define INCLUDE_AIRSPYGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
#include "airspyinput.h"
|
#include "airspyinput.h"
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ namespace Ui {
|
|||||||
class AirspySampleRates;
|
class AirspySampleRates;
|
||||||
}
|
}
|
||||||
|
|
||||||
class AirspyGui : public QWidget, public PluginInstanceUI {
|
class AirspyGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -119,7 +119,7 @@ PluginInterface::SamplingDevices AirspyPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* AirspyPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* AirspyPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if (sourceId == m_deviceTypeID)
|
if (sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_BLADERFINPUTGUI_H
|
#ifndef INCLUDE_BLADERFINPUTGUI_H
|
||||||
#define INCLUDE_BLADERFINPUTGUI_H
|
#define INCLUDE_BLADERFINPUTGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "bladerfinput.h"
|
#include "bladerfinput.h"
|
||||||
@ -31,7 +31,7 @@ namespace Ui {
|
|||||||
class BladerfInputGui;
|
class BladerfInputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class BladerfInputGui : public QWidget, public PluginInstanceUI {
|
class BladerfInputGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -78,7 +78,7 @@ PluginInterface::SamplingDevices BlderfInputPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* BlderfInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId,QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* BlderfInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId,QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID)
|
if(sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_FCDPROGUI_H
|
#ifndef INCLUDE_FCDPROGUI_H
|
||||||
#define INCLUDE_FCDPROGUI_H
|
#define INCLUDE_FCDPROGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "fcdproinput.h"
|
#include "fcdproinput.h"
|
||||||
@ -32,7 +32,7 @@ namespace Ui {
|
|||||||
class FCDProGui;
|
class FCDProGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class FCDProGui : public QWidget, public PluginInstanceUI {
|
class FCDProGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -74,7 +74,7 @@ PluginInterface::SamplingDevices FCDProPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* FCDProPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* FCDProPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == fcd_traits<Pro>::interfaceIID)
|
if(sourceId == fcd_traits<Pro>::interfaceIID)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_FCDGUI_H
|
#ifndef INCLUDE_FCDGUI_H
|
||||||
#define INCLUDE_FCDGUI_H
|
#define INCLUDE_FCDGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "fcdproplusinput.h"
|
#include "fcdproplusinput.h"
|
||||||
@ -31,7 +31,7 @@ namespace Ui {
|
|||||||
class FCDProPlusGui;
|
class FCDProPlusGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class FCDProPlusGui : public QWidget, public PluginInstanceUI {
|
class FCDProPlusGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -76,7 +76,7 @@ PluginInterface::SamplingDevices FCDProPlusPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* FCDProPlusPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* FCDProPlusPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == fcd_traits<ProPlus>::interfaceIID)
|
if(sourceId == fcd_traits<ProPlus>::interfaceIID)
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_deviceTypeID;
|
static const QString m_deviceTypeID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_FILESOURCEGUI_H
|
#ifndef INCLUDE_FILESOURCEGUI_H
|
||||||
#define INCLUDE_FILESOURCEGUI_H
|
#define INCLUDE_FILESOURCEGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "filesourceinput.h"
|
#include "filesourceinput.h"
|
||||||
@ -31,7 +31,7 @@ namespace Ui {
|
|||||||
class FileSourceGui;
|
class FileSourceGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class FileSourceGui : public QWidget, public PluginInstanceUI {
|
class FileSourceGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -69,7 +69,7 @@ PluginInterface::SamplingDevices FileSourcePlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* FileSourcePlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* FileSourcePlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID)
|
if(sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_HACKRFINPUTGUI_H
|
#ifndef INCLUDE_HACKRFINPUTGUI_H
|
||||||
#define INCLUDE_HACKRFINPUTGUI_H
|
#define INCLUDE_HACKRFINPUTGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "hackrfinput.h"
|
#include "hackrfinput.h"
|
||||||
@ -33,7 +33,7 @@ namespace Ui {
|
|||||||
class HackRFInputGui;
|
class HackRFInputGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class HackRFInputGui : public QWidget, public PluginInstanceUI {
|
class HackRFInputGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -117,7 +117,7 @@ PluginInterface::SamplingDevices HackRFInputPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* HackRFInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* HackRFInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID)
|
if(sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTGUI_H_
|
#ifndef PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTGUI_H_
|
||||||
#define PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTGUI_H_
|
#define PLUGINS_SAMPLESOURCE_LIMESDRINPUT_LIMESDRINPUTGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "limesdrinput.h"
|
#include "limesdrinput.h"
|
||||||
@ -31,7 +31,7 @@ namespace Ui {
|
|||||||
class LimeSDRInputGUI;
|
class LimeSDRInputGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class LimeSDRInputGUI : public QWidget, public PluginInstanceUI {
|
class LimeSDRInputGUI : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -97,7 +97,7 @@ PluginInterface::SamplingDevices LimeSDRInputPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* LimeSDRInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId,QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* LimeSDRInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId,QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID)
|
if(sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#ifndef PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_
|
#ifndef PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_
|
||||||
#define PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_
|
#define PLUGINS_SAMPLESOURCE_PLUTOSDRINPUT_PLUTOSDRINPUTGUI_H_
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "plutosdrinputsettings.h"
|
#include "plutosdrinputsettings.h"
|
||||||
@ -33,7 +33,7 @@ namespace Ui {
|
|||||||
class PlutoSDRInputGUI;
|
class PlutoSDRInputGUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
class PlutoSDRInputGui : public QWidget, public PluginInstanceUI {
|
class PlutoSDRInputGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -81,7 +81,7 @@ PluginInterface::SamplingDevices PlutoSDRInputPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* PlutoSDRInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* PlutoSDRInputPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID)
|
if(sourceId == m_deviceTypeID)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,10 +17,10 @@
|
|||||||
#ifndef INCLUDE_RTLSDRGUI_H
|
#ifndef INCLUDE_RTLSDRGUI_H
|
||||||
#define INCLUDE_RTLSDRGUI_H
|
#define INCLUDE_RTLSDRGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "rtlsdrinput.h"
|
#include "rtlsdrinput.h"
|
||||||
@ -32,7 +32,7 @@ namespace Ui {
|
|||||||
class RTLSDRSampleRates;
|
class RTLSDRSampleRates;
|
||||||
}
|
}
|
||||||
|
|
||||||
class RTLSDRGui : public QWidget, public PluginInstanceUI {
|
class RTLSDRGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -62,7 +62,7 @@ PluginInterface::SamplingDevices RTLSDRPlugin::enumSampleSources()
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginInstanceUI* RTLSDRPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
PluginInstanceGUI* RTLSDRPlugin::createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
if(sourceId == m_deviceTypeID) {
|
if(sourceId == m_deviceTypeID) {
|
||||||
RTLSDRGui* gui = new RTLSDRGui(deviceAPI);
|
RTLSDRGui* gui = new RTLSDRGui(deviceAPI);
|
||||||
|
@ -20,7 +20,7 @@ public:
|
|||||||
void initPlugin(PluginAPI* pluginAPI);
|
void initPlugin(PluginAPI* pluginAPI);
|
||||||
|
|
||||||
virtual SamplingDevices enumSampleSources();
|
virtual SamplingDevices enumSampleSources();
|
||||||
virtual PluginInstanceUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
virtual PluginInstanceGUI* createSampleSourcePluginInstanceGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
|
||||||
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
virtual DeviceSampleSource* createSampleSourcePluginInstanceInput(const QString& sourceId, DeviceSourceAPI *deviceAPI);
|
||||||
|
|
||||||
static const QString m_hardwareID;
|
static const QString m_hardwareID;
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
#ifndef INCLUDE_SDRDAEMONSOURCEGUI_H
|
#ifndef INCLUDE_SDRDAEMONSOURCEGUI_H
|
||||||
#define INCLUDE_SDRDAEMONSOURCEGUI_H
|
#define INCLUDE_SDRDAEMONSOURCEGUI_H
|
||||||
|
|
||||||
|
#include <plugin/plugininstancegui.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include "plugin/plugininstanceui.h"
|
|
||||||
#include "util/messagequeue.h"
|
#include "util/messagequeue.h"
|
||||||
|
|
||||||
#include "sdrdaemonsourceinput.h"
|
#include "sdrdaemonsourceinput.h"
|
||||||
@ -32,7 +32,7 @@ namespace Ui {
|
|||||||
class SDRdaemonSourceGui;
|
class SDRdaemonSourceGui;
|
||||||
}
|
}
|
||||||
|
|
||||||
class SDRdaemonSourceGui : public QWidget, public PluginInstanceUI {
|
class SDRdaemonSourceGui : public QWidget, public PluginInstanceGUI {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user