2014-11-16 22:39:50 +00:00
|
|
|
#ifndef INCLUDE_WFMPLUGIN_H
|
|
|
|
#define INCLUDE_WFMPLUGIN_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "plugin/plugininterface.h"
|
|
|
|
|
2017-10-31 07:24:05 +00:00
|
|
|
class DeviceUISet;
|
2016-05-16 08:05:09 +00:00
|
|
|
|
2014-11-16 22:39:50 +00:00
|
|
|
class WFMPlugin : public QObject, PluginInterface {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_INTERFACES(PluginInterface)
|
|
|
|
Q_PLUGIN_METADATA(IID "de.maintech.sdrangelove.channel.wfm")
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit WFMPlugin(QObject* parent = NULL);
|
|
|
|
|
|
|
|
const PluginDescriptor& getPluginDescriptor() const;
|
|
|
|
void initPlugin(PluginAPI* pluginAPI);
|
|
|
|
|
2017-10-31 07:24:05 +00:00
|
|
|
PluginInstanceGUI* createRxChannel(const QString& channelName, DeviceUISet *deviceUISet);
|
2014-11-16 22:39:50 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
static const PluginDescriptor m_pluginDescriptor;
|
|
|
|
|
|
|
|
PluginAPI* m_pluginAPI;
|
|
|
|
|
|
|
|
private slots:
|
2017-10-31 07:24:05 +00:00
|
|
|
void createInstanceWFM(DeviceUISet *deviceUISet);
|
2014-11-16 22:39:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_WFMPLUGIN_H
|