summaryrefslogtreecommitdiff
path: root/Network/PSKReporter.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /Network/PSKReporter.hpp
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'Network/PSKReporter.hpp')
-rw-r--r--[-rwxr-xr-x]Network/PSKReporter.hpp90
1 files changed, 45 insertions, 45 deletions
diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp
index 25006de0..4b2175c8 100755..100644
--- 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, 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
+#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, 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<impl> m_;
+};
+
+#endif