summaryrefslogtreecommitdiff
path: root/Network/PSKReporter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Network/PSKReporter.hpp')
-rw-r--r--Network/PSKReporter.hpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/Network/PSKReporter.hpp b/Network/PSKReporter.hpp
index 4b2175c8..46fe0a82 100644
--- a/Network/PSKReporter.hpp
+++ b/Network/PSKReporter.hpp
@@ -2,6 +2,8 @@
#define PSK_REPORTER_HPP_
#include <QObject>
+#include <QDateTime>
+#include <QString>
#include "Radio.hpp"
#include "pimpl_h.hpp"
@@ -14,16 +16,22 @@ class PSKReporter final
Q_OBJECT
public:
+ struct Options
+ {
+ bool use_tcpip;
+ QString eclipse_file_path;
+ QString program_info;
+ };
+
explicit PSKReporter (Configuration const *, QString const& program_info);
+ explicit PSKReporter (Options const& options);
~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
- //
+ // Returns false if accepting the spot required dropping an older pending spot.
bool addRemoteStation (QString const& call, QString const& grid, Radio::Frequency freq, QString const& mode, int snr, QDateTime spotTime);
//