mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-25 10:00:21 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			705 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			705 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef INCLUDE_GNURADIOPLUGIN_H
 | |
| #define INCLUDE_GNURADIOPLUGIN_H
 | |
| 
 | |
| #include <QObject>
 | |
| #include "plugin/plugininterface.h"
 | |
| 
 | |
| class GNURadioPlugin : public QObject, PluginInterface {
 | |
| 	Q_OBJECT
 | |
| 	Q_INTERFACES(PluginInterface)
 | |
| 	Q_PLUGIN_METADATA(IID "org.osmocom.sdr.samplesource.gr-osmosdr")
 | |
| 
 | |
| public:
 | |
| 	explicit GNURadioPlugin(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_GNURADIOPLUGIN_H
 |