1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -04:00

Web API: /sdrangel/devicesets (GET) implementation

This commit is contained in:
f4exb
2017-11-25 20:14:16 +01:00
parent 9fab034f14
commit c91918840e
9 changed files with 143 additions and 85 deletions
+11
View File
@@ -34,6 +34,7 @@ namespace Swagger
class SWGPresets;
class SWGPresetTransfer;
class SWGPresetIdentifier;
class SWGDeviceSetList;
class SWGErrorResponse;
}
@@ -183,6 +184,15 @@ public:
Swagger::SWGErrorResponse& error __attribute__((unused)))
{ return 501; }
/**
* Handler of /sdrangel/preset (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDeviceSetsGet(
Swagger::SWGDeviceSetList& response __attribute__((unused)),
Swagger::SWGErrorResponse& error __attribute__((unused)))
{ return 501; }
static QString instanceSummaryURL;
static QString instanceDevicesURL;
static QString instanceChannelsURL;
@@ -191,6 +201,7 @@ public:
static QString instanceLocationURL;
static QString instanceDVSerialURL;
static QString instancePresetURL;
static QString instanceDeviceSetsURL;
};