summaryrefslogtreecommitdiff
path: root/MessageServer.hpp
diff options
context:
space:
mode:
authorEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
committerEnrico Rossi <e.rossi@tecnobrain.com>2018-11-03 17:52:26 +0100
commitb4aebf2d137b892f53503b13785ecae900062ff7 (patch)
tree3ba99b2baec2292f2e13bfe90a5e401a5f4c47a5 /MessageServer.hpp
parent37f727ac0746fd85504aa46c1f023c09b3eff33a (diff)
New upstream version 1.9.1+repackupstream/1.9.1+repack
* Drop local hamlib copy (commit d1b545be). * Drop local boost copy (1.63.0).
Diffstat (limited to 'MessageServer.hpp')
-rw-r--r--MessageServer.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/MessageServer.hpp b/MessageServer.hpp
index f78d07d1..bb750152 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);
@@ -77,8 +87,10 @@ 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);
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;