diff options
| author | Christoph Berg <myon@debian.org> | 2026-06-22 12:03:55 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-06-22 12:03:55 +0200 |
| commit | de18fc13175a5bf0e2b48a042d2fc06e87c88d24 (patch) | |
| tree | f517074cd603d30eb7ba7e2122d38051e4c1439c /Network/PSKReporter.hpp | |
| parent | b76e8361909e47f0937d4a64a5a4cb5939f51eb7 (diff) | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
Update upstream source from tag 'upstream/3.0.2+dfsg'
Update to upstream version '3.0.2+dfsg'
with Debian dir 90381fe7be9f5ea84d9b16c9cccf200a3fbe138b
Diffstat (limited to 'Network/PSKReporter.hpp')
| -rw-r--r-- | Network/PSKReporter.hpp | 14 |
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); // |
