| 
									
										
										
										
											2014-11-03 17:13:32 +00:00
										 |  |  | #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(); | 
					
						
							| 
									
										
										
										
											2015-08-18 02:47:14 +02:00
										 |  |  | 	PluginGUI* createSampleSourcePluginGUI(const QString& sourceName, const QByteArray& address); | 
					
						
							| 
									
										
										
										
											2014-11-03 17:13:32 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							|  |  |  | 	static const PluginDescriptor m_pluginDescriptor; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	PluginAPI* m_pluginAPI; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif // INCLUDE_V4LPLUGIN_H
 |