summaryrefslogtreecommitdiff
path: root/Network/PSKReporter.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
committerChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
commitd83a420f0517d7fc47aeb288a6a0cf4891784fcc (patch)
tree6d9c83527c56458a8360ba080bf5f4ca73d526dc /Network/PSKReporter.hpp
parent4b089ae3f7e9e2d5662f718f663b26a4e8ee63ca (diff)
New upstream version 3.0.2+dfsgupstream/3.0.2+dfsg
Diffstat (limited to 'Network/PSKReporter.hpp')
-rw-r--r--Network/PSKReporter.hpp14
1 files changed, 11 insertions, 3 deletions
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 <QObject>
+#include <QDateTime>
+#include <QString>
#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);
//