1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

File source input: implemeted WEB API for reporting

This commit is contained in:
f4exb
2018-05-26 11:40:37 +02:00
parent 268ad2b33f
commit 4c31da6c17
15 changed files with 510 additions and 6 deletions
@@ -261,6 +261,10 @@ public:
SWGSDRangel::SWGDeviceState& response,
QString& errorMessage);
virtual int webapiReportGet(
SWGSDRangel::SWGDeviceReport& response,
QString& errorMessage);
private:
DeviceSourceAPI *m_deviceAPI;
QMutex m_mutex;
@@ -279,6 +283,7 @@ public:
void openFileStream();
void seekFileStream(int seekPercentage);
bool applySettings(const FileSourceSettings& settings, bool force = false);
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response);
};
#endif // INCLUDE_FILESOURCEINPUT_H