diff options
| author | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
|---|---|---|
| committer | Christoph Berg <christoph.berg@credativ.de> | 2022-08-23 10:23:16 +0200 |
| commit | 2d1068e60bce7ae1fff11623454900e8cee956b1 (patch) | |
| tree | acebe276e30466ef0ab91bc3da5e379bec0d7dc5 /Network/PSKReporter.hpp | |
| parent | 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff) | |
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'Network/PSKReporter.hpp')
| -rwxr-xr-x | Network/PSKReporter.hpp | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp index 1757e63a..7bac5421 100755 --- a/Network/PSKReporter.hpp +++ b/Network/PSKReporter.hpp @@ -1,41 +1,41 @@ -#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); - - 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);
+
+ //
+ // 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);
+
+ Q_SIGNAL void errorOccurred (QString const& reason);
+
+private:
+ class impl;
+ pimpl<impl> m_;
+};
+
+#endif
|
