Windows: MSVC2017: changes in sdrbase (2)

pull/263/head
f4exb 2018-11-12 16:58:20 +01:00
rodzic f97728c4e9
commit 70a4db39c0
9 zmienionych plików z 186 dodań i 96 usunięć

Wyświetl plik

@ -18,7 +18,6 @@
#include "audionetsink.h"
#include "util/rtpsink.h"
#include <unistd.h>
#include <QUdpSocket>
const int AudioNetSink::m_udpBlockSize = 512;

Wyświetl plik

@ -37,7 +37,6 @@
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <memory.h>
#include <dsp/misc.h>

Wyświetl plik

@ -68,8 +68,9 @@ void FileRecord::genUniqueFileName(uint deviceUID)
setFileName(QString("rec%1_%2.sdriq").arg(deviceUID).arg(QDateTime::currentDateTimeUtc().toString("yyyy-MM-ddTHH_mm_ss_zzz")));
}
void FileRecord::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly __attribute__((unused)))
void FileRecord::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
{
(void) positiveOnly;
// if no recording is active, send the samples to /dev/null
if(!m_recordOn)
return;
@ -173,4 +174,4 @@ void FileRecord::writeHeader(std::ofstream& sampleFile, Header& header)
crc32.process_bytes(&header, 28);
header.crc32 = crc32.checksum();
sampleFile.write((const char *) &header, sizeof(Header));
}
}

Wyświetl plik

@ -76,8 +76,12 @@ private:
IIRFilter<float, 2> m_filterLP;
IIRFilter<float, 2> m_filterHP;
bool m_useHP;
static const float m_lpa[3], m_lpb[3]; // low pass coefficients
static const float m_hpa[3], m_hpb[3]; // band pass coefficients
// low pass coefficients
static const float m_lpa[3];
static const float m_lpb[3];
// band pass coefficients
static const float m_hpa[3];
static const float m_hpb[3];
};

Wyświetl plik

@ -17,8 +17,11 @@ bool NullSink::init(const Message& message)
return false;
}
void NullSink::feed(const SampleVector::const_iterator& begin __attribute__((unused)), const SampleVector::const_iterator& end __attribute__((unused)), bool positiveOnly __attribute__((unused)))
void NullSink::feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly)
{
(void) begin;
(void) end;
(void) positiveOnly;
}
void NullSink::start()
@ -29,7 +32,8 @@ void NullSink::stop()
{
}
bool NullSink::handleMessage(const Message& message __attribute__((unused)))
bool NullSink::handleMessage(const Message& message)
{
(void) message;
return false;
}

Wyświetl plik

@ -111,8 +111,9 @@ void ThreadedBasebandSampleSink::stop()
m_thread->wait();
}
void ThreadedBasebandSampleSink::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly __attribute__((unused)))
void ThreadedBasebandSampleSink::feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly)
{
(void) positiveOnly;
//m_sampleSink->feed(begin, end, positiveOnly);
//m_sampleFifo.write(begin, end);
m_threadedBasebandSampleSinkFifo->writeToFifo(begin, end);

Wyświetl plik

@ -224,7 +224,9 @@ HEADERS += audio/audiodevicemanager.h\
webapi/webapiserver.h\
mainparser.h
!macx:LIBS += -L../serialdv/$${build_subdir} -lserialdv
MINGW32 || MINGW64 {
LIBS += -L../serialdv/$${build_subdir} -lserialdv
}
LIBS += -L../httpserver/$${build_subdir} -lhttpserver
LIBS += -L../qrtplib/$${build_subdir} -lqrtplib
LIBS += -L../swagger/$${build_subdir} -lswagger

Wyświetl plik

@ -23,7 +23,7 @@
#include <QHostInfo>
#include <QCryptographicHash>
#ifdef _WIN32_
#if (defined _WIN32_) || (defined _MSC_VER)
#include <windows.h>
#else
#include <sys/time.h>
@ -67,7 +67,7 @@ uint32_t UidCalculator::getNewInstanceId()
uint64_t UidCalculator::getCurrentMiroseconds()
{
#ifdef _WIN32_
#if (defined _WIN32_) || (defined _MSC_VER)
LARGE_INTEGER tickPerSecond;
LARGE_INTEGER tick; // a point in time

Wyświetl plik

@ -64,9 +64,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceSummary(
SWGSDRangel::SWGInstanceSummaryResponse& response __attribute__((unused)),
SWGSDRangel::SWGInstanceSummaryResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -77,9 +78,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDelete(
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -90,10 +92,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDevices(
bool tx __attribute__((unused)),
SWGSDRangel::SWGInstanceDevicesResponse& response __attribute__((unused)),
bool tx,
SWGSDRangel::SWGInstanceDevicesResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) tx;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -104,10 +108,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceChannels(
bool tx __attribute__((unused)),
SWGSDRangel::SWGInstanceChannelsResponse& response __attribute__((unused)),
bool tx,
SWGSDRangel::SWGInstanceChannelsResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) tx;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -118,9 +124,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceLoggingGet(
SWGSDRangel::SWGLoggingInfo& response __attribute__((unused)),
SWGSDRangel::SWGLoggingInfo& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -131,10 +138,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceLoggingPut(
SWGSDRangel::SWGLoggingInfo& query __attribute__((unused)),
SWGSDRangel::SWGLoggingInfo& response __attribute__((unused)),
SWGSDRangel::SWGLoggingInfo& query,
SWGSDRangel::SWGLoggingInfo& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -145,9 +154,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioGet(
SWGSDRangel::SWGAudioDevices& response __attribute__((unused)),
SWGSDRangel::SWGAudioDevices& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -158,10 +168,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioInputPatch(
SWGSDRangel::SWGAudioInputDevice& response __attribute__((unused)),
const QStringList& audioInputKeys __attribute__((unused)),
SWGSDRangel::SWGAudioInputDevice& response,
const QStringList& audioInputKeys,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
(void) audioInputKeys;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -172,10 +184,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioOutputPatch(
SWGSDRangel::SWGAudioOutputDevice& response __attribute__((unused)),
const QStringList& audioOutputKeys __attribute__((unused)),
SWGSDRangel::SWGAudioOutputDevice& response,
const QStringList& audioOutputKeys,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
(void) audioOutputKeys;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -186,9 +200,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioInputDelete(
SWGSDRangel::SWGAudioInputDevice& response __attribute__((unused)),
SWGSDRangel::SWGAudioInputDevice& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -199,9 +214,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioOutputDelete(
SWGSDRangel::SWGAudioOutputDevice& response __attribute__((unused)),
SWGSDRangel::SWGAudioOutputDevice& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -212,9 +228,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioInputCleanupPatch(
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -225,9 +242,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceAudioOutputCleanupPatch(
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -238,9 +256,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceLocationGet(
SWGSDRangel::SWGLocationInformation& response __attribute__((unused)),
SWGSDRangel::SWGLocationInformation& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -251,9 +270,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceLocationPut(
SWGSDRangel::SWGLocationInformation& response __attribute__((unused)),
SWGSDRangel::SWGLocationInformation& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -264,9 +284,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDVSerialGet(
SWGSDRangel::SWGDVSeralDevices& response __attribute__((unused)),
SWGSDRangel::SWGDVSeralDevices& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -277,10 +298,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDVSerialPatch(
bool dvserial __attribute__((unused)),
SWGSDRangel::SWGDVSeralDevices& response __attribute__((unused)),
bool dvserial,
SWGSDRangel::SWGDVSeralDevices& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) dvserial;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -291,9 +314,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetsGet(
SWGSDRangel::SWGPresets& response __attribute__((unused)),
SWGSDRangel::SWGPresets& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -304,10 +328,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetPatch(
SWGSDRangel::SWGPresetTransfer& query __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetTransfer& query,
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -318,10 +344,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetPut(
SWGSDRangel::SWGPresetTransfer& query __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetTransfer& query,
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -332,10 +360,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetPost(
SWGSDRangel::SWGPresetTransfer& query __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetTransfer& query,
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -346,9 +376,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetDelete(
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -359,10 +390,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetFilePut(
SWGSDRangel::SWGPresetImport& query __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetImport& query,
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -373,10 +406,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instancePresetFilePost(
SWGSDRangel::SWGPresetExport& query __attribute__((unused)),
SWGSDRangel::SWGPresetIdentifier& response __attribute__((unused)),
SWGSDRangel::SWGPresetExport& query,
SWGSDRangel::SWGPresetIdentifier& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -387,9 +422,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDeviceSetsGet(
SWGSDRangel::SWGDeviceSetList& response __attribute__((unused)),
SWGSDRangel::SWGDeviceSetList& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -400,10 +436,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDeviceSetPost(
bool tx __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
bool tx,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) tx;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -414,9 +452,10 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int instanceDeviceSetDelete(
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -427,10 +466,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetGet(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceSet& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceSet& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -441,10 +482,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetFocusPatch(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -455,11 +498,14 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDevicePut(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceListItem& query __attribute__((unused)),
SWGSDRangel::SWGDeviceListItem& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceListItem& query,
SWGSDRangel::SWGDeviceListItem& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -470,10 +516,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceSettingsGet(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceSettings& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceSettings& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -484,12 +532,16 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceSettingsPutPatch(
int deviceSetIndex __attribute__((unused)),
bool force __attribute__((unused)), //!< true to force settings = put else patch
const QStringList& channelSettingsKeys __attribute__((unused)),
SWGSDRangel::SWGDeviceSettings& response __attribute__((unused)),
int deviceSetIndex,
bool force, //!< true to force settings = put else patch
const QStringList& channelSettingsKeys,
SWGSDRangel::SWGDeviceSettings& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) force;
(void) channelSettingsKeys;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -500,10 +552,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceRunGet(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceState& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceState& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -514,10 +568,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceRunPost(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceState& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceState& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -528,11 +584,13 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceRunDelete(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceState& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceState& response,
SWGSDRangel::SWGErrorResponse& error)
{
error.init();
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
}
@ -542,10 +600,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetDeviceReportGet(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGDeviceReport& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGDeviceReport& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -556,10 +616,12 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelsReportGet(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGChannelsDetail& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGChannelsDetail& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -570,12 +632,15 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelPost(
int deviceSetIndex __attribute__((unused)),
SWGSDRangel::SWGChannelSettings& query __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
int deviceSetIndex,
SWGSDRangel::SWGChannelSettings& query,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
error.init();
(void) deviceSetIndex;
(void) query;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
}
@ -585,11 +650,15 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelDelete(
int deviceSetIndex __attribute__((unused)),
int channelIndex __attribute__((unused)),
SWGSDRangel::SWGSuccessResponse& response __attribute__((unused)),
SWGSDRangel::SWGErrorResponse& error __attribute__((unused)))
int deviceSetIndex,
int channelIndex,
SWGSDRangel::SWGSuccessResponse& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) channelIndex;
(void) response;
(void) error;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
@ -600,12 +669,15 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelSettingsGet(
int deviceSetIndex __attribute__((unused)),
int channelIndex __attribute__((unused)),
SWGSDRangel::SWGChannelSettings& response __attribute__((unused)),
int deviceSetIndex,
int channelIndex,
SWGSDRangel::SWGChannelSettings& response,
SWGSDRangel::SWGErrorResponse& error)
{
error.init();
(void) deviceSetIndex;
(void) channelIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
}
@ -615,14 +687,19 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelSettingsPutPatch(
int deviceSetIndex __attribute__((unused)),
int channelIndex __attribute__((unused)),
bool force __attribute__((unused)),
const QStringList& channelSettingsKeys __attribute__((unused)),
SWGSDRangel::SWGChannelSettings& response __attribute__((unused)),
int deviceSetIndex,
int channelIndex,
bool force,
const QStringList& channelSettingsKeys,
SWGSDRangel::SWGChannelSettings& response,
SWGSDRangel::SWGErrorResponse& error)
{
error.init();
(void) deviceSetIndex;
(void) channelIndex;
(void) force;
(void) channelSettingsKeys;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;
}
@ -633,11 +710,14 @@ public:
* returns the Http status code (default 501: not implemented)
*/
virtual int devicesetChannelReportGet(
int deviceSetIndex __attribute__((unused)),
int channelIndex __attribute__((unused)),
SWGSDRangel::SWGChannelReport& response __attribute__((unused)),
int deviceSetIndex,
int channelIndex,
SWGSDRangel::SWGChannelReport& response,
SWGSDRangel::SWGErrorResponse& error)
{
(void) deviceSetIndex;
(void) channelIndex;
(void) response;
error.init();
*error.getMessage() = QString("Function not implemented");
return 501;