1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Fixed missing bits in API. Fixes #1247

This commit is contained in:
f4exb
2022-05-16 20:51:15 +02:00
parent cddfc00c74
commit 7a8cab7879
21 changed files with 102 additions and 1322 deletions
-17
View File
@@ -985,22 +985,6 @@ public:
return 501;
}
/**
* Handler of /sdrangel/deviceset/{devicesetIndex}/focus (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetFocusPatch(
int deviceSetIndex,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
}
/**
* Handler of /sdrangel/deviceset/{devicesetIndex}/spectrum/settings (GET)
* returns the Http status code (default 501: not implemented)
@@ -1825,7 +1809,6 @@ public:
static QString featuresetFeatureURL;
static QString featuresetPresetURL;
static std::regex devicesetURLRe;
static std::regex devicesetFocusURLRe;
static std::regex devicesetSpectrumSettingsURLRe;
static std::regex devicesetSpectrumServerURLRe;
static std::regex devicesetSpectrumWorkspaceURLRe;