From f647d78463c1250ce9c99af664615fafccf5e959 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Tue, 7 Apr 2026 19:02:45 +0200 Subject: New upstream version 3.0.0 --- Network/PSKReporter.hpp | 90 ++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) mode change 100755 => 100644 Network/PSKReporter.hpp (limited to 'Network/PSKReporter.hpp') diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp old mode 100755 new mode 100644 index 25006de0..4b2175c8 --- a/Network/PSKReporter.hpp +++ b/Network/PSKReporter.hpp @@ -1,45 +1,45 @@ -#ifndef PSK_REPORTER_HPP_ -#define PSK_REPORTER_HPP_ - -#include -#include "Radio.hpp" -#include "pimpl_h.hpp" - -class QString; -class Configuration; - -class PSKReporter final - : public QObject -{ - Q_OBJECT - -public: - explicit PSKReporter (Configuration const *, QString const& program_info); - ~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 - // - bool addRemoteStation (QString const& call, QString const& grid, Radio::Frequency freq, QString const& mode, int snr); - - // - // Flush any pending spots to PSK Reporter - // - void sendReport (bool last = false); - - // - // True if current time falls withing a +/- window of a solar eclipse for HamSCI use - bool eclipse_active(QDateTime now); - - Q_SIGNAL void errorOccurred (QString const& reason); - -private: - class impl; - pimpl m_; -}; - -#endif +#ifndef PSK_REPORTER_HPP_ +#define PSK_REPORTER_HPP_ + +#include +#include "Radio.hpp" +#include "pimpl_h.hpp" + +class QString; +class Configuration; + +class PSKReporter final + : public QObject +{ + Q_OBJECT + +public: + explicit PSKReporter (Configuration const *, QString const& program_info); + ~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 + // + bool addRemoteStation (QString const& call, QString const& grid, Radio::Frequency freq, QString const& mode, int snr, QDateTime spotTime); + + // + // Flush any pending spots to PSK Reporter + // + void sendReport (bool last = false); + + // + // True if current time falls withing a +/- window of a solar eclipse for HamSCI use + bool eclipse_active(QDateTime now); + + Q_SIGNAL void errorOccurred (QString const& reason); + +private: + class impl; + pimpl m_; +}; + +#endif -- cgit v1.2.3