1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 23:43:43 -04:00

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
@@ -29,6 +29,7 @@
#include <complex.h>
#include "SWGChannelSettings.h"
#include "SWGWorkspaceInfo.h"
#include "SWGFreqTrackerSettings.h"
#include "SWGChannelReport.h"
#include "SWGFreqTrackerReport.h"
@@ -344,6 +345,15 @@ int FreqTracker::webapiSettingsGet(
return 200;
}
int FreqTracker::webapiWorkspaceGet(
SWGSDRangel::SWGWorkspaceInfo& response,
QString& errorMessage)
{
(void) errorMessage;
response.setIndex(m_settings.m_workspaceIndex);
return 200;
}
int FreqTracker::webapiSettingsPutPatch(
bool force,
const QStringList& channelSettingsKeys,