summaryrefslogtreecommitdiff
path: root/MessageClient.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 /MessageClient.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 'MessageClient.hpp')
-rw-r--r--MessageClient.hpp21
1 files changed, 20 insertions, 1 deletions
diff --git a/MessageClient.hpp b/MessageClient.hpp
index d641a66d..be524fdb 100644
--- a/MessageClient.hpp
+++ b/MessageClient.hpp
@@ -11,6 +11,7 @@
class QByteArray;
class QHostAddress;
+class QColor;
//
// MessageClient - Manage messages sent and replies received from a
@@ -62,13 +63,22 @@ public:
Q_SLOT void qso_logged (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);
+
+ // ADIF_record argument should be valid ADIF excluding any <EOR> end
+ // of record marker
+ Q_SLOT void logged_ADIF (QByteArray const& ADIF_record);
// this slot may be used to send arbitrary UDP datagrams to and
// destination allowing the underlying socket to be used for general
// UDP messaging if desired
Q_SLOT void send_raw_datagram (QByteArray const&, QHostAddress const& dest_address, port_type dest_port);
+ // disallowed message destination (does not block datagrams sent
+ // with send_raw_datagram() above)
+ Q_SLOT void add_blocked_destination (QHostAddress const&);
+
// this signal is emitted if the server sends us a reply, the only
// reply supported is reply to a prior CQ or QRZ message
Q_SIGNAL void reply (QTime, qint32 snr, float delta_time, quint32 delta_frequency, QString const& mode
@@ -86,10 +96,19 @@ public:
// message text
Q_SIGNAL void free_text (QString const&, bool send);
+ // this signal is emitted if the server has sent a highlight
+ // callsign request for the specified call
+ Q_SIGNAL void highlight_callsign (QString const& callsign, QColor const& bg, QColor const& fg, bool last_only);
+
// this signal is emitted when network errors occur or if a host
// lookup fails
Q_SIGNAL void error (QString const&) const;
+ // this signal is emitted if the message obtains a location from a
+ // server. (It doesn't have to be new, could be a periodic location
+ // update)
+ Q_SIGNAL void location (QString const&);
+
private:
class impl;
pimpl<impl> m_;