summaryrefslogtreecommitdiff
path: root/MessageServer.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 23:01:50 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 23:01:50 +0100
commit5c60c77adff9a54fd5f94f9915b22ccd8c4c5a3b (patch)
tree410fa358a5f73260a579b4d669730f319a4d2609 /MessageServer.hpp
parent6c82050de806dcdafaed0077400a6c3396a4a159 (diff)
parente0737c56c1e384e05064a0c6e1ac46979371041b (diff)
Update upstream source from tag 'upstream/2.0.0+repack'
Update to upstream version '2.0.0+repack' with Debian dir 55dbb3a6a7eb189e187dd79f732623ca0b56116d
Diffstat (limited to 'MessageServer.hpp')
-rw-r--r--MessageServer.hpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/MessageServer.hpp b/MessageServer.hpp
index f78d07d1..4a6022bf 100644
--- a/MessageServer.hpp
+++ b/MessageServer.hpp
@@ -5,6 +5,7 @@
#include <QTime>
#include <QDateTime>
#include <QHostAddress>
+#include <QColor>
#include "udp_export.h"
#include "Radio.hpp"
@@ -59,6 +60,15 @@ public:
// message and optionally send it ASAP
Q_SLOT void free_text (QString const& id, QString const& text, bool send);
+ // ask the client with identification 'id' to set the location provided
+ Q_SLOT void location (QString const& id, QString const& location);
+
+ // ask the client with identification 'id' to highlight the callsign
+ // specified with the given colors
+ Q_SLOT void highlight_callsign (QString const& id, QString const& callsign
+ , QColor const& bg = QColor {}, QColor const& fg = QColor {}
+ , bool last_only = false);
+
// the following signals are emitted when a client broadcasts the
// matching message
Q_SIGNAL void client_opened (QString const& id, QString const& version, QString const& revision);
@@ -66,7 +76,8 @@ public:
, QString const& report, QString const& tx_mode, bool tx_enabled
, bool transmitting, bool decoding, qint32 rx_df, qint32 tx_df
, QString const& de_call, QString const& de_grid, QString const& dx_grid
- , bool watchdog_timeout, QString const& sub_mode, bool fast_mode);
+ , bool watchdog_timeout, QString const& sub_mode, bool fast_mode
+ , quint8 special_op_mode);
Q_SIGNAL void client_closed (QString const& id);
Q_SIGNAL void decode (bool is_new, QString const& id, QTime time, qint32 snr, float delta_time
, quint32 delta_frequency, QString const& mode, QString const& message
@@ -77,8 +88,11 @@ public:
Q_SIGNAL void qso_logged (QString const& id, QDateTime time_off, QString const& dx_call, QString const& dx_grid
, Frequency dial_frequency, QString const& mode, QString const& report_sent
, QString const& report_received, QString const& tx_power, QString const& comments
- , QString const& name, QDateTime time_on);
+ , QString const& name, QDateTime time_on, QString const& operator_call
+ , QString const& my_call, QString const& my_grid
+ , QString const& exchange_sent, QString const& exchange_rcvd);
Q_SIGNAL void clear_decodes (QString const& id);
+ Q_SIGNAL void logged_ADIF (QString const& id, QByteArray const& ADIF);
// this signal is emitted when a network error occurs
Q_SIGNAL void error (QString const&) const;