1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Test source: implemeted WEB API

This commit is contained in:
f4exb
2018-05-27 22:25:01 +02:00
parent da3cb2d981
commit f5bcbf2e9e
15 changed files with 983 additions and 5 deletions
@@ -110,6 +110,16 @@ public:
virtual bool handleMessage(const Message& message);
virtual int webapiSettingsGet(
SWGSDRangel::SWGDeviceSettings& response,
QString& errorMessage);
virtual int webapiSettingsPutPatch(
bool force,
const QStringList& deviceSettingsKeys,
SWGSDRangel::SWGDeviceSettings& response, // query + response
QString& errorMessage);
virtual int webapiRunGet(
SWGSDRangel::SWGDeviceState& response,
QString& errorMessage);
@@ -130,6 +140,7 @@ private:
const QTimer& m_masterTimer;
bool applySettings(const TestSourceSettings& settings, bool force);
void webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings& response, const TestSourceSettings& settings);
};
#endif // _TESTSOURCE_TESTSOURCEINPUT_H_