2015-09-03 22:10:38 -04:00
|
|
|
#ifndef INCLUDE_FCDPROPLUGIN_H
|
|
|
|
#define INCLUDE_FCDPROPLUGIN_H
|
2015-09-02 21:57:54 -04:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "plugin/plugininterface.h"
|
|
|
|
|
2015-09-03 22:10:38 -04:00
|
|
|
class FCDProPlugin : public QObject, public PluginInterface {
|
2015-09-02 21:57:54 -04:00
|
|
|
Q_OBJECT
|
|
|
|
Q_INTERFACES(PluginInterface)
|
|
|
|
Q_PLUGIN_METADATA(IID "org.osmocom.sdr.samplesource.fcdpro")
|
|
|
|
|
|
|
|
public:
|
2015-09-03 22:10:38 -04:00
|
|
|
explicit FCDProPlugin(QObject* parent = NULL);
|
2015-09-02 21:57:54 -04:00
|
|
|
|
|
|
|
const PluginDescriptor& getPluginDescriptor() const;
|
|
|
|
void initPlugin(PluginAPI* pluginAPI);
|
|
|
|
|
|
|
|
SampleSourceDevices enumSampleSources();
|
|
|
|
PluginGUI* createSampleSourcePluginGUI(const QString& sourceName, const QByteArray& address);
|
|
|
|
|
|
|
|
private:
|
|
|
|
static const PluginDescriptor m_pluginDescriptor;
|
|
|
|
|
|
|
|
PluginAPI* m_pluginAPI;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_FCDPLUGIN_H
|