diff options
Diffstat (limited to 'plugins/channel/tetra/tetraplugin.h')
-rw-r--r-- | plugins/channel/tetra/tetraplugin.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/channel/tetra/tetraplugin.h b/plugins/channel/tetra/tetraplugin.h new file mode 100644 index 0000000..ec94a18 --- /dev/null +++ b/plugins/channel/tetra/tetraplugin.h @@ -0,0 +1,29 @@ +#ifndef INCLUDE_TETRAPLUGIN_H +#define INCLUDE_TETRAPLUGIN_H + +#include <QObject> +#include "plugin/plugininterface.h" + +class TetraPlugin : public QObject, PluginInterface { + Q_OBJECT + Q_INTERFACES(PluginInterface) + Q_PLUGIN_METADATA(IID "de.maintech.sdrangelove.demod.tetra") + +public: + explicit TetraPlugin(QObject* parent = NULL); + + const PluginDescriptor& getPluginDescriptor() const; + void initPlugin(PluginAPI* pluginAPI); + + PluginGUI* createDemod(const QString& demodName); + +private: + static const PluginDescriptor m_pluginDescriptor; + + PluginAPI* m_pluginAPI; + +private slots: + void createInstanceTetra(); +}; + +#endif // INCLUDE_TETRAPLUGIN_H |