v7: API: added workspace handling for device, spectrum, feature and channel. Implements #1242

This commit is contained in:
f4exb
2022-05-13 22:24:48 +02:00
parent 0d7ca38ab0
commit 9e5c629473
235 changed files with 10257 additions and 115 deletions
+10
View File
@@ -28,6 +28,7 @@
#include <algorithm>
#include "SWGChannelSettings.h"
#include "SWGWorkspaceInfo.h"
#include "SWGChannelReport.h"
#include "SWGSSBModReport.h"
@@ -440,6 +441,15 @@ int SSBMod::webapiSettingsGet(
return 200;
}
int SSBMod::webapiWorkspaceGet(
SWGSDRangel::SWGWorkspaceInfo& response,
QString& errorMessage)
{
(void) errorMessage;
response.setIndex(m_settings.m_workspaceIndex);
return 200;
}
int SSBMod::webapiSettingsPutPatch(
bool force,
const QStringList& channelSettingsKeys,