mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-04 05:30:32 -05:00 
			
		
		
		
	
		
			
	
	
		
			28 lines
		
	
	
		
			664 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			28 lines
		
	
	
		
			664 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#ifndef INCLUDE_V4LPLUGIN_H
							 | 
						||
| 
								 | 
							
								#define INCLUDE_V4LPLUGIN_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <QObject>
							 | 
						||
| 
								 | 
							
								#include "plugin/plugininterface.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class V4LPlugin : public QObject, PluginInterface {
							 | 
						||
| 
								 | 
							
									Q_OBJECT
							 | 
						||
| 
								 | 
							
									Q_INTERFACES(PluginInterface)
							 | 
						||
| 
								 | 
							
									Q_PLUGIN_METADATA(IID "org.osmocom.sdr.samplesource.v4l")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								public:
							 | 
						||
| 
								 | 
							
									explicit V4LPlugin(QObject* parent = NULL);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									const PluginDescriptor& getPluginDescriptor() const;
							 | 
						||
| 
								 | 
							
									void initPlugin(PluginAPI* pluginAPI);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									SampleSourceDevices enumSampleSources();
							 | 
						||
| 
								 | 
							
									PluginGUI* createSampleSource(const QString& sourceName, const QByteArray& address);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								private:
							 | 
						||
| 
								 | 
							
									static const PluginDescriptor m_pluginDescriptor;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									PluginAPI* m_pluginAPI;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif // INCLUDE_V4LPLUGIN_H
							 |