1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 05:08:54 -04:00

Server: Web API: /sdrangel/deviceset/{deviceSetIndex}/channel POST implementation and rework in the PluginInterface

This commit is contained in:
f4exb
2017-12-23 05:56:40 +01:00
parent d4ca83ff61
commit 514e408aac
42 changed files with 121 additions and 203 deletions
+5 -9
View File
@@ -89,11 +89,9 @@ public:
DeviceSourceAPI *deviceAPI __attribute__((unused)) )
{ return 0; }
virtual void createRxChannel(
ChannelSinkAPI **channelSinkAPI,
const QString& channelName __attribute__((unused)),
virtual ChannelSinkAPI* createRxChannel(
DeviceSourceAPI *deviceAPI __attribute__((unused)) )
{ *channelSinkAPI = 0; }
{ return 0; }
// channel Tx plugins
@@ -108,11 +106,9 @@ public:
DeviceSinkAPI *deviceAPI __attribute__((unused)) )
{ return 0; }
virtual void createTxChannel(
ChannelSourceAPI **channelSourceAPI,
const QString& channelName __attribute__((unused)),
DeviceSourceAPI *deviceAPI __attribute__((unused)) )
{ *channelSourceAPI = 0; }
virtual ChannelSourceAPI* createTxChannel(
DeviceSinkAPI *deviceAPI __attribute__((unused)) )
{ return 0; }
// device source plugins only