mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
Added demod constructor interface in the plugin API. Created method in AM demod
This commit is contained in:
@@ -22,6 +22,8 @@ class PluginInstanceGUI;
|
||||
class QWidget;
|
||||
class DeviceSampleSource;
|
||||
class DeviceSampleSink;
|
||||
class BasebandSampleSink;
|
||||
class BasebandSampleSource;
|
||||
|
||||
class PluginInterface {
|
||||
public:
|
||||
@@ -76,13 +78,23 @@ public:
|
||||
DeviceUISet *deviceUISet __attribute__((unused)) )
|
||||
{ return 0; }
|
||||
|
||||
// channel Tx plugins
|
||||
virtual BasebandSampleSink* createRxChannel(
|
||||
const QString& channelName __attribute__((unused)),
|
||||
DeviceSourceAPI *deviceAPI __attribute__((unused)) )
|
||||
{ return 0; }
|
||||
|
||||
// channel Tx plugins
|
||||
|
||||
virtual PluginInstanceGUI* createTxChannelGUI(
|
||||
const QString& channelName __attribute__((unused)),
|
||||
DeviceUISet *deviceUISet __attribute__((unused)) )
|
||||
{ return 0; }
|
||||
|
||||
virtual BasebandSampleSource* createTxChannel(
|
||||
const QString& channelName __attribute__((unused)),
|
||||
DeviceSinkAPI *deviceAPI __attribute__((unused)) )
|
||||
{ return 0; }
|
||||
|
||||
// device source plugins only
|
||||
|
||||
virtual SamplingDevices enumSampleSources() { return SamplingDevices(); }
|
||||
|
||||
Reference in New Issue
Block a user