diff options
| author | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:12 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-01-09 22:12:12 +0100 |
| commit | 98c02f78b26811ba5d9962ba27ec24cacf82bb22 (patch) | |
| tree | daaf609cde31d8fb3b6c3457c43663d14f0dda80 /Network/PSKReporter.hpp | |
| parent | 332d2ce88c2f0bc2908cacdc6707e2f9fa49f26d (diff) | |
| parent | 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (diff) | |
Update upstream source from tag 'upstream/2.7.0_rc8+repack'
Update to upstream version '2.7.0~rc8+repack'
with Debian dir 6fce941c8282d35c8df23d3de779a42e27688bc1
Diffstat (limited to 'Network/PSKReporter.hpp')
| -rwxr-xr-x | Network/PSKReporter.hpp | 90 |
1 files changed, 45 insertions, 45 deletions
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 <QObject>
-#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<impl> m_;
-};
-
-#endif
+#ifndef PSK_REPORTER_HPP_ +#define PSK_REPORTER_HPP_ + +#include <QObject> +#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<impl> m_; +}; + +#endif |
