1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Web API: /sdrangel/deviceset/{index}/device (PUT) implementation

This commit is contained in:
f4exb
2017-11-27 08:14:07 +01:00
parent c5a19e261c
commit 3bfdd49b4f
8 changed files with 192 additions and 3 deletions
+11
View File
@@ -37,6 +37,7 @@ namespace Swagger
class SWGPresetIdentifier;
class SWGDeviceSetList;
class SWGDeviceSet;
class SWGDeviceListItem;
class SWGErrorResponse;
}
@@ -224,6 +225,16 @@ public:
Swagger::SWGErrorResponse& error __attribute__((unused)))
{ return 501; }
/**
* Handler of /sdrangel/devicesets (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDevicePut(
int deviceSetIndex __attribute__((unused)),
Swagger::SWGDeviceListItem& response __attribute__((unused)),
Swagger::SWGErrorResponse& error __attribute__((unused)))
{ return 501; }
static QString instanceSummaryURL;
static QString instanceDevicesURL;
static QString instanceChannelsURL;