sdrangel/plugins/samplesource/fcdpro/fcdproplugin.h

30 wiersze
762 B
C
Czysty Zwykły widok Historia

#ifndef INCLUDE_FCDPROPLUGIN_H
#define INCLUDE_FCDPROPLUGIN_H
#include <QObject>
#include "plugin/plugininterface.h"
#define FCDPRO_DEVICE_TYPE_ID "sdrangel.samplesource.fcdpro"
class PluginAPI;
class FCDProPlugin : public QObject, public PluginInterface {
Q_OBJECT
Q_INTERFACES(PluginInterface)
Q_PLUGIN_METADATA(IID FCDPRO_DEVICE_TYPE_ID)
public:
explicit FCDProPlugin(QObject* parent = NULL);
const PluginDescriptor& getPluginDescriptor() const;
void initPlugin(PluginAPI* pluginAPI);
2016-10-13 20:23:43 +00:00
virtual SamplingDevices enumSampleSources();
virtual PluginGUI* createSampleSourcePluginGUI(const QString& sourceId, QWidget **widget, DeviceSourceAPI *deviceAPI);
private:
static const PluginDescriptor m_pluginDescriptor;
};
#endif // INCLUDE_FCDPLUGIN_H