2017-11-16 21:17:15 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Copyright (C) 2017 Edouard Griffiths, F4EXB. //
|
|
|
|
// //
|
|
|
|
// Swagger server adapter interface //
|
|
|
|
// //
|
|
|
|
// This program is free software; you can redistribute it and/or modify //
|
|
|
|
// it under the terms of the GNU General Public License as published by //
|
|
|
|
// the Free Software Foundation as version 3 of the License, or //
|
2019-04-11 08:32:15 -04:00
|
|
|
// (at your option) any later version. //
|
2017-11-16 21:17:15 -05:00
|
|
|
// //
|
|
|
|
// This program is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
|
|
// GNU General Public License V3 for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU General Public License //
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef SDRBASE_WEBAPI_WEBAPIADAPTERINTERFACE_H_
|
|
|
|
#define SDRBASE_WEBAPI_WEBAPIADAPTERINTERFACE_H_
|
|
|
|
|
2017-11-18 13:34:47 -05:00
|
|
|
#include <QString>
|
2017-11-25 18:26:56 -05:00
|
|
|
#include <regex>
|
2017-11-18 13:34:47 -05:00
|
|
|
|
2017-12-20 08:17:26 -05:00
|
|
|
#include "SWGErrorResponse.h"
|
|
|
|
|
2018-03-20 08:49:21 -04:00
|
|
|
#include "export.h"
|
2018-03-03 14:23:38 -05:00
|
|
|
|
2017-12-01 23:45:30 -05:00
|
|
|
namespace SWGSDRangel
|
2017-11-18 13:34:47 -05:00
|
|
|
{
|
|
|
|
class SWGInstanceSummaryResponse;
|
2017-11-22 12:57:35 -05:00
|
|
|
class SWGInstanceDevicesResponse;
|
2017-11-22 19:19:32 -05:00
|
|
|
class SWGInstanceChannelsResponse;
|
2017-11-23 12:43:01 -05:00
|
|
|
class SWGLoggingInfo;
|
2017-11-24 02:46:12 -05:00
|
|
|
class SWGAudioDevices;
|
2018-03-28 18:38:01 -04:00
|
|
|
class SWGAudioInputDevice;
|
|
|
|
class SWGAudioOutputDevice;
|
2017-11-24 22:02:11 -05:00
|
|
|
class SWGLocationInformation;
|
2017-11-24 22:43:22 -05:00
|
|
|
class SWGDVSeralDevices;
|
2017-11-25 05:14:52 -05:00
|
|
|
class SWGPresets;
|
2017-11-25 10:08:18 -05:00
|
|
|
class SWGPresetTransfer;
|
|
|
|
class SWGPresetIdentifier;
|
2017-12-18 19:11:34 -05:00
|
|
|
class SWGPresetImport;
|
|
|
|
class SWGPresetExport;
|
2017-11-25 14:14:16 -05:00
|
|
|
class SWGDeviceSetList;
|
2017-11-25 16:52:24 -05:00
|
|
|
class SWGDeviceSet;
|
2017-11-27 02:14:07 -05:00
|
|
|
class SWGDeviceListItem;
|
2017-12-04 17:07:30 -05:00
|
|
|
class SWGDeviceSettings;
|
2017-12-06 17:49:14 -05:00
|
|
|
class SWGDeviceState;
|
2018-05-25 19:43:28 -04:00
|
|
|
class SWGDeviceReport;
|
2018-03-18 19:08:38 -04:00
|
|
|
class SWGChannelsDetail;
|
2017-12-10 14:27:08 -05:00
|
|
|
class SWGChannelSettings;
|
2018-03-18 15:17:11 -04:00
|
|
|
class SWGChannelReport;
|
2017-12-19 11:55:05 -05:00
|
|
|
class SWGSuccessResponse;
|
2017-11-18 13:34:47 -05:00
|
|
|
}
|
2017-11-16 21:17:15 -05:00
|
|
|
|
2018-03-03 14:23:38 -05:00
|
|
|
class SDRBASE_API WebAPIAdapterInterface
|
2017-11-16 21:17:15 -05:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~WebAPIAdapterInterface() {}
|
|
|
|
|
2017-11-18 05:03:42 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceSummary
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-11-16 21:17:15 -05:00
|
|
|
virtual int instanceSummary(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGInstanceSummaryResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-18 13:34:47 -05:00
|
|
|
|
2017-12-17 17:15:42 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceSummary
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-17 17:15:42 -05:00
|
|
|
|
2017-11-22 12:57:35 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/devices (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceDevices
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceDevices(
|
2019-05-08 19:12:40 -04:00
|
|
|
int direction,
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGInstanceDevicesResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2019-05-08 19:12:40 -04:00
|
|
|
(void) direction;
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-22 12:57:35 -05:00
|
|
|
|
2017-11-22 19:19:32 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/channels (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceChannels(
|
2019-05-08 19:12:40 -04:00
|
|
|
int direction,
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGInstanceChannelsResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2019-05-08 19:12:40 -04:00
|
|
|
(void) direction;
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-22 19:19:32 -05:00
|
|
|
|
2017-11-23 12:43:01 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/logging (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceLoggingGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGLoggingInfo& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-23 12:43:01 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/logging (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceLoggingPut(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGLoggingInfo& query,
|
|
|
|
SWGSDRangel::SWGLoggingInfo& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-23 12:43:01 -05:00
|
|
|
|
2017-11-24 02:46:12 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/audio (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGAudioDevices& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-24 02:46:12 -05:00
|
|
|
|
2017-11-24 11:12:53 -05:00
|
|
|
/**
|
2018-03-28 19:43:31 -04:00
|
|
|
* Handler of /sdrangel/audio/input/parameters (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-24 11:12:53 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2018-03-28 18:38:01 -04:00
|
|
|
virtual int instanceAudioInputPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGAudioInputDevice& response,
|
|
|
|
const QStringList& audioInputKeys,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
|
|
|
(void) audioInputKeys;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-24 11:12:53 -05:00
|
|
|
|
2018-03-28 18:38:01 -04:00
|
|
|
/**
|
2018-03-28 19:43:31 -04:00
|
|
|
* Handler of /sdrangel/audio/output/parameters (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2018-03-28 18:38:01 -04:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioOutputPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGAudioOutputDevice& response,
|
|
|
|
const QStringList& audioOutputKeys,
|
2018-03-28 18:38:01 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
|
|
|
(void) audioOutputKeys;
|
2018-03-28 18:38:01 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2018-03-28 19:43:31 -04:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/audio/input/parameters (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioInputDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGAudioInputDevice& response,
|
2018-03-28 19:43:31 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-03-28 19:43:31 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/audio/output/paramaters (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioOutputDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGAudioOutputDevice& response,
|
2018-03-28 19:43:31 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-03-28 19:43:31 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/audio/input/cleanup (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioInputCleanupPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2018-03-28 19:43:31 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-03-28 19:43:31 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/audio/output/cleanup (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceAudioOutputCleanupPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2018-03-28 19:43:31 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-03-28 19:43:31 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2017-11-24 22:02:11 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/location (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceLocationGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGLocationInformation& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-24 22:02:11 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/location (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceLocationPut(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGLocationInformation& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-24 22:02:11 -05:00
|
|
|
|
2017-11-24 22:43:22 -05:00
|
|
|
/**
|
2018-08-02 17:05:53 -04:00
|
|
|
* Handler of /sdrangel/dvserial (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-24 22:43:22 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2018-08-02 17:05:53 -04:00
|
|
|
virtual int instanceDVSerialGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGDVSeralDevices& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-24 22:43:22 -05:00
|
|
|
|
2018-08-02 17:05:53 -04:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/dvserial (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceDVSerialPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
bool dvserial,
|
|
|
|
SWGSDRangel::SWGDVSeralDevices& response,
|
2018-08-02 17:05:53 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) dvserial;
|
|
|
|
(void) response;
|
2018-08-02 17:05:53 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2017-11-25 05:14:52 -05:00
|
|
|
/**
|
2017-12-20 18:50:58 -05:00
|
|
|
* Handler of /sdrangel/presets (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-25 05:14:52 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-20 18:50:58 -05:00
|
|
|
virtual int instancePresetsGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresets& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 05:14:52 -05:00
|
|
|
|
2017-11-25 10:08:18 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset (PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetTransfer& query,
|
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 10:08:18 -05:00
|
|
|
|
2017-11-25 10:47:13 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetPut(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetTransfer& query,
|
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 10:47:13 -05:00
|
|
|
|
2017-11-25 12:32:37 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetPost(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetTransfer& query,
|
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 12:32:37 -05:00
|
|
|
|
2017-11-25 13:42:56 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 13:42:56 -05:00
|
|
|
|
2017-12-18 19:11:34 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset/file (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetFilePut(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetImport& query,
|
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-18 19:11:34 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/preset/file (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instancePresetFilePost(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGPresetExport& query,
|
|
|
|
SWGSDRangel::SWGPresetIdentifier& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-18 19:11:34 -05:00
|
|
|
|
2017-11-25 14:14:16 -05:00
|
|
|
/**
|
2017-11-25 16:52:24 -05:00
|
|
|
* Handler of /sdrangel/devicesets (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-25 14:14:16 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int instanceDeviceSetsGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGDeviceSetList& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 14:14:16 -05:00
|
|
|
|
2017-11-25 16:52:24 -05:00
|
|
|
/**
|
2017-12-21 19:07:03 -05:00
|
|
|
* Handler of /sdrangel/deviceset (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-25 16:52:24 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-21 19:07:03 -05:00
|
|
|
virtual int instanceDeviceSetPost(
|
2019-05-08 19:12:40 -04:00
|
|
|
int direction,
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2019-05-08 19:12:40 -04:00
|
|
|
(void) direction;
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 16:52:24 -05:00
|
|
|
|
|
|
|
/**
|
2017-12-21 19:07:03 -05:00
|
|
|
* Handler of /sdrangel/deviceset (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-25 16:52:24 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-21 19:07:03 -05:00
|
|
|
virtual int instanceDeviceSetDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-25 16:52:24 -05:00
|
|
|
|
2017-11-26 04:37:39 -05:00
|
|
|
/**
|
2017-12-06 16:08:34 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex} (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-26 04:37:39 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceSet& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-26 04:37:39 -05:00
|
|
|
|
2018-01-05 21:46:53 -05:00
|
|
|
/**
|
|
|
|
* 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(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2018-01-05 21:46:53 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2018-01-05 21:46:53 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2017-11-27 02:14:07 -05:00
|
|
|
/**
|
2017-12-04 12:22:25 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device (PUT) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-11-27 02:14:07 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetDevicePut(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceListItem& query,
|
|
|
|
SWGSDRangel::SWGDeviceListItem& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) query;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-11-27 02:14:07 -05:00
|
|
|
|
2017-12-04 12:22:25 -05:00
|
|
|
/**
|
2017-12-06 16:08:34 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-12-04 12:22:25 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-06 16:08:34 -05:00
|
|
|
virtual int devicesetDeviceSettingsGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceSettings& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-04 12:22:25 -05:00
|
|
|
|
2017-12-06 17:49:14 -05:00
|
|
|
/**
|
2017-12-07 07:55:42 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/settings (PUT, PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-12-06 17:49:14 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-07 07:55:42 -05:00
|
|
|
virtual int devicesetDeviceSettingsPutPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
bool force, //!< true to force settings = put else patch
|
|
|
|
const QStringList& channelSettingsKeys,
|
|
|
|
SWGSDRangel::SWGDeviceSettings& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) force;
|
|
|
|
(void) channelSettingsKeys;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-06 17:49:14 -05:00
|
|
|
|
2017-12-09 04:49:20 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetDeviceRunGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceState& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-09 04:49:20 -05:00
|
|
|
|
2017-12-06 17:49:14 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetDeviceRunPost(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceState& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-06 17:49:14 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/run (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetDeviceRunDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceState& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-06 17:49:14 -05:00
|
|
|
|
2018-05-25 19:43:28 -04:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/device/report (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetDeviceReportGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGDeviceReport& response,
|
2018-05-25 19:43:28 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-05-25 19:43:28 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2018-03-18 19:08:38 -04:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{devicesetIndex}/channels/report (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetChannelsReportGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGChannelsDetail& response,
|
2018-03-18 19:08:38 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) response;
|
2018-03-18 19:08:38 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2017-12-10 19:18:10 -05:00
|
|
|
/**
|
2017-12-23 16:33:30 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{deviceSetIndex}/channel (POST) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-12-10 19:18:10 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetChannelPost(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
SWGSDRangel::SWGChannelSettings& query,
|
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) query;
|
|
|
|
(void) response;
|
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-10 19:18:10 -05:00
|
|
|
|
|
|
|
/**
|
2017-12-23 16:33:30 -05:00
|
|
|
* Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex} (DELETE) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
2017-12-10 19:18:10 -05:00
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
2017-12-23 16:33:30 -05:00
|
|
|
virtual int devicesetChannelDelete(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
int channelIndex,
|
|
|
|
SWGSDRangel::SWGSuccessResponse& response,
|
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
2017-12-20 08:17:26 -05:00
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) channelIndex;
|
|
|
|
(void) response;
|
|
|
|
(void) error;
|
2018-02-13 16:43:10 -05:00
|
|
|
error.init();
|
2017-12-23 16:33:30 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
2017-12-20 08:17:26 -05:00
|
|
|
}
|
2017-12-10 19:18:10 -05:00
|
|
|
|
2017-12-10 14:27:08 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetChannelSettingsGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
int channelIndex,
|
|
|
|
SWGSDRangel::SWGChannelSettings& response,
|
2017-12-20 08:17:26 -05:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) channelIndex;
|
|
|
|
(void) response;
|
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-10 14:27:08 -05:00
|
|
|
|
2017-12-11 12:18:47 -05:00
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (PUT, PATCH) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetChannelSettingsPutPatch(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
int channelIndex,
|
|
|
|
bool force,
|
|
|
|
const QStringList& channelSettingsKeys,
|
|
|
|
SWGSDRangel::SWGChannelSettings& response,
|
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) channelIndex;
|
|
|
|
(void) force;
|
|
|
|
(void) channelSettingsKeys;
|
|
|
|
(void) response;
|
|
|
|
error.init();
|
2017-12-20 08:17:26 -05:00
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
2017-12-11 12:18:47 -05:00
|
|
|
|
2018-03-18 15:17:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Handler of /sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
|
|
|
* returns the Http status code (default 501: not implemented)
|
|
|
|
*/
|
|
|
|
virtual int devicesetChannelReportGet(
|
2018-11-12 10:58:20 -05:00
|
|
|
int deviceSetIndex,
|
|
|
|
int channelIndex,
|
|
|
|
SWGSDRangel::SWGChannelReport& response,
|
2018-03-18 15:17:11 -04:00
|
|
|
SWGSDRangel::SWGErrorResponse& error)
|
|
|
|
{
|
2018-11-12 10:58:20 -05:00
|
|
|
(void) deviceSetIndex;
|
|
|
|
(void) channelIndex;
|
|
|
|
(void) response;
|
2018-03-18 15:17:11 -04:00
|
|
|
error.init();
|
|
|
|
*error.getMessage() = QString("Function not implemented");
|
|
|
|
return 501;
|
|
|
|
}
|
|
|
|
|
2017-11-18 13:34:47 -05:00
|
|
|
static QString instanceSummaryURL;
|
2017-11-22 12:57:35 -05:00
|
|
|
static QString instanceDevicesURL;
|
2017-11-22 19:19:32 -05:00
|
|
|
static QString instanceChannelsURL;
|
2017-11-23 12:43:01 -05:00
|
|
|
static QString instanceLoggingURL;
|
2017-11-24 02:46:12 -05:00
|
|
|
static QString instanceAudioURL;
|
2018-03-28 19:43:31 -04:00
|
|
|
static QString instanceAudioInputParametersURL;
|
|
|
|
static QString instanceAudioOutputParametersURL;
|
|
|
|
static QString instanceAudioInputCleanupURL;
|
|
|
|
static QString instanceAudioOutputCleanupURL;
|
2017-11-24 22:02:11 -05:00
|
|
|
static QString instanceLocationURL;
|
2017-11-24 22:43:22 -05:00
|
|
|
static QString instanceDVSerialURL;
|
2017-12-20 18:50:58 -05:00
|
|
|
static QString instancePresetsURL;
|
2017-11-25 05:14:52 -05:00
|
|
|
static QString instancePresetURL;
|
2017-12-18 19:11:34 -05:00
|
|
|
static QString instancePresetFileURL;
|
2017-11-25 14:14:16 -05:00
|
|
|
static QString instanceDeviceSetsURL;
|
2017-12-21 19:07:03 -05:00
|
|
|
static QString instanceDeviceSetURL;
|
2017-11-25 18:26:56 -05:00
|
|
|
static std::regex devicesetURLRe;
|
2018-01-05 21:46:53 -05:00
|
|
|
static std::regex devicesetFocusURLRe;
|
2017-11-25 18:26:56 -05:00
|
|
|
static std::regex devicesetDeviceURLRe;
|
2017-12-06 16:08:34 -05:00
|
|
|
static std::regex devicesetDeviceSettingsURLRe;
|
2017-12-06 17:49:14 -05:00
|
|
|
static std::regex devicesetDeviceRunURLRe;
|
2018-05-25 19:43:28 -04:00
|
|
|
static std::regex devicesetDeviceReportURLRe;
|
2017-12-10 19:18:10 -05:00
|
|
|
static std::regex devicesetChannelURLRe;
|
|
|
|
static std::regex devicesetChannelIndexURLRe;
|
2017-12-10 14:27:08 -05:00
|
|
|
static std::regex devicesetChannelSettingsURLRe;
|
2018-03-18 15:17:11 -04:00
|
|
|
static std::regex devicesetChannelReportURLRe;
|
2018-03-18 19:08:38 -04:00
|
|
|
static std::regex devicesetChannelsReportURLRe;
|
2017-11-16 21:17:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* SDRBASE_WEBAPI_WEBAPIADAPTERINTERFACE_H_ */
|