mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
28 lines
683 B
C
28 lines
683 B
C
|
#ifndef INCLUDE_FCDPLUGIN_H
|
||
|
#define INCLUDE_FCDPLUGIN_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include "plugin/plugininterface.h"
|
||
|
|
||
|
class FCDPlugin : public QObject, public PluginInterface {
|
||
|
Q_OBJECT
|
||
|
Q_INTERFACES(PluginInterface)
|
||
|
Q_PLUGIN_METADATA(IID "org.osmocom.sdr.samplesource.fcdpro")
|
||
|
|
||
|
public:
|
||
|
explicit FCDPlugin(QObject* parent = NULL);
|
||
|
|
||
|
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
|