From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- Network/PSKReporter.hpp | 90 ++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) (limited to 'Network/PSKReporter.hpp') diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp index 483e6e9b..93a8367d 100755 --- 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); - - // - // 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); + + // + // 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