summaryrefslogtreecommitdiff
path: root/Network/PSKReporter.hpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /Network/PSKReporter.hpp
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'Network/PSKReporter.hpp')
-rw-r--r--Network/PSKReporter.hpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp
index 4b2175c8..3b1f4f13 100644
--- a/Network/PSKReporter.hpp
+++ b/Network/PSKReporter.hpp
@@ -2,6 +2,8 @@
#define PSK_REPORTER_HPP_
#include <QObject>
+#include <QDateTime>
+#include <QString>
#include "Radio.hpp"
#include "pimpl_h.hpp"
@@ -14,16 +16,24 @@ class PSKReporter final
Q_OBJECT
public:
+ struct Options
+ {
+ bool use_tcpip;
+ QString eclipse_file_path;
+ QString program_info;
+ QString destination_host {"report.pskreporter.info"};
+ quint16 destination_port {4739};
+ };
+
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);
//