From d83a420f0517d7fc47aeb288a6a0cf4891784fcc Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 22 Jun 2026 12:03:44 +0200 Subject: New upstream version 3.0.2+dfsg --- Network/PSKReporter.hpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Network/PSKReporter.hpp') diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp index 4b2175c8..46fe0a82 100644 --- a/Network/PSKReporter.hpp +++ b/Network/PSKReporter.hpp @@ -2,6 +2,8 @@ #define PSK_REPORTER_HPP_ #include +#include +#include #include "Radio.hpp" #include "pimpl_h.hpp" @@ -14,16 +16,22 @@ class PSKReporter final Q_OBJECT public: + struct Options + { + bool use_tcpip; + QString eclipse_file_path; + QString program_info; + }; + explicit PSKReporter (Configuration const *, QString const& program_info); + explicit PSKReporter (Options const& options); ~PSKReporter (); void reconnect (); void setLocalStation (QString const& call, QString const& grid, QString const& antenna, QString const& rigInformation); - // - // Returns false if PSK Reporter connection is not available - // + // Returns false if accepting the spot required dropping an older pending spot. bool addRemoteStation (QString const& call, QString const& grid, Radio::Frequency freq, QString const& mode, int snr, QDateTime spotTime); // -- cgit v1.2.3