2015-09-03 22:10:38 -04:00
|
|
|
#ifndef INCLUDE_FCDPROPLUSPLUGIN_H
|
|
|
|
#define INCLUDE_FCDPROPLUSPLUGIN_H
|
2015-09-02 21:57:54 -04:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "plugin/plugininterface.h"
|
|
|
|
|
2015-09-30 22:23:22 -04:00
|
|
|
#define FCDPROPLUS_DEVICE_TYPE_ID "sdrangel.samplesource.fcdproplus"
|
|
|
|
|
2015-09-03 22:10:38 -04:00
|
|
|
class FCDProPlusPlugin : public QObject, public PluginInterface {
|
2015-09-02 21:57:54 -04:00
|
|
|
Q_OBJECT
|
|
|
|
Q_INTERFACES(PluginInterface)
|
2015-09-03 22:10:38 -04:00
|
|
|
Q_PLUGIN_METADATA(IID "org.osmocom.sdr.samplesource.fcdproplus")
|
2015-09-02 21:57:54 -04:00
|
|
|
|
|
|
|
public:
|
2015-09-03 22:10:38 -04:00
|
|
|
explicit FCDProPlusPlugin(QObject* parent = NULL);
|
2015-09-02 21:57:54 -04:00
|
|
|
|
|
|
|
const PluginDescriptor& getPluginDescriptor() const;
|
|
|
|
void initPlugin(PluginAPI* pluginAPI);
|
|
|
|
|
2015-09-30 03:01:29 -04:00
|
|
|
virtual SampleSourceDevices enumSampleSources();
|
|
|
|
virtual PluginGUI* createSampleSourcePluginGUI(const QString& sourceId);
|
2015-09-02 21:57:54 -04:00
|
|
|
|
2015-09-30 22:23:22 -04:00
|
|
|
static const QString m_deviceTypeID;
|
|
|
|
|
2015-09-02 21:57:54 -04:00
|
|
|
private:
|
|
|
|
static const PluginDescriptor m_pluginDescriptor;
|
|
|
|
|
|
|
|
PluginAPI* m_pluginAPI;
|
|
|
|
};
|
|
|
|
|
2015-09-03 22:10:38 -04:00
|
|
|
#endif // INCLUDE_FCDPROPLUSPLUGIN_H
|