diff --git a/sdrsrv/webapi/webapiadaptersrv.cpp b/sdrsrv/webapi/webapiadaptersrv.cpp index 5dbea4248..88049134a 100644 --- a/sdrsrv/webapi/webapiadaptersrv.cpp +++ b/sdrsrv/webapi/webapiadaptersrv.cpp @@ -679,6 +679,14 @@ int WebAPIAdapterSrv::instancePresetDelete( return 200; } +int WebAPIAdapterSrv::instanceDeviceSetsGet( + SWGSDRangel::SWGDeviceSetList& response, + SWGSDRangel::SWGErrorResponse& error __attribute__((unused))) +{ + getDeviceSetList(&response); + return 200; +} + int WebAPIAdapterSrv::instanceDeviceSetsPost( bool tx, SWGSDRangel::SWGSuccessResponse& response, diff --git a/sdrsrv/webapi/webapiadaptersrv.h b/sdrsrv/webapi/webapiadaptersrv.h index 758993ad8..688fdce1d 100644 --- a/sdrsrv/webapi/webapiadaptersrv.h +++ b/sdrsrv/webapi/webapiadaptersrv.h @@ -108,15 +108,19 @@ public: SWGSDRangel::SWGPresetIdentifier& response, SWGSDRangel::SWGErrorResponse& error); + virtual int instancePresetDelete( + SWGSDRangel::SWGPresetIdentifier& response, + SWGSDRangel::SWGErrorResponse& error); + + virtual int instanceDeviceSetsGet( + SWGSDRangel::SWGDeviceSetList& response, + SWGSDRangel::SWGErrorResponse& error); + virtual int instanceDeviceSetsPost( bool tx, SWGSDRangel::SWGSuccessResponse& response, SWGSDRangel::SWGErrorResponse& error); - virtual int instancePresetDelete( - SWGSDRangel::SWGPresetIdentifier& response, - SWGSDRangel::SWGErrorResponse& error); - virtual int instanceDeviceSetsDelete( SWGSDRangel::SWGSuccessResponse& response, SWGSDRangel::SWGErrorResponse& error);