1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-20 06:38:36 -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
+46
View File
@@ -321,6 +321,17 @@ public:
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetSpectrumWorkspaceGet(
int deviceSetIndex,
SWGSDRangel::SWGWorkspaceInfo& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetSpectrumWorkspacePut(
int deviceSetIndex,
SWGSDRangel::SWGWorkspaceInfo& query,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetDevicePut(
int deviceSetIndex,
SWGSDRangel::SWGDeviceListItem& query,
@@ -339,6 +350,17 @@ public:
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetDeviceWorkspaceGet(
int deviceSetIndex,
SWGSDRangel::SWGWorkspaceInfo& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetDeviceWorkspacePut(
int deviceSetIndex,
SWGSDRangel::SWGWorkspaceInfo& query,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetDeviceSettingsPutPatch(
int deviceSetIndex,
bool force,
@@ -429,6 +451,19 @@ public:
SWGSDRangel::SWGChannelReport& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetChannelWorkspaceGet(
int deviceSetIndex,
int channelIndex,
SWGSDRangel::SWGWorkspaceInfo& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int devicesetChannelWorkspacePut(
int deviceSetIndex,
int channelIndex,
SWGSDRangel::SWGWorkspaceInfo& query,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int featuresetGet(
int deviceSetIndex,
SWGSDRangel::SWGFeatureSet& response,
@@ -507,6 +542,17 @@ public:
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int featuresetFeatureWorkspaceGet(
int featureIndex,
SWGSDRangel::SWGWorkspaceInfo& response,
SWGSDRangel::SWGErrorResponse& error);
virtual int featuresetFeatureWorkspacePut(
int featureIndex,
SWGSDRangel::SWGWorkspaceInfo& query,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error);
private:
MainCore *m_mainCore;