summaryrefslogtreecommitdiff
path: root/MessageServer.hpp
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
committerChristoph Berg <christoph.berg@credativ.de>2019-07-17 15:12:32 +0200
commit3d67be3023bf34eac7f93fa422f5ef569abb92a9 (patch)
treef3748d6a113c50d483882b60b732a9d211100cf8 /MessageServer.hpp
parent62c0c627f4f8aec46a082bf098d4f1523a16d297 (diff)
New upstream version 2.1.0+repackupstream/2.1.0+repack
Diffstat (limited to 'MessageServer.hpp')
-rw-r--r--MessageServer.hpp17
1 files changed, 15 insertions, 2 deletions
diff --git a/MessageServer.hpp b/MessageServer.hpp
index 12377bef..f59c21fe 100644
--- a/MessageServer.hpp
+++ b/MessageServer.hpp
@@ -52,6 +52,9 @@ public:
Q_SLOT void reply (QString const& id, QTime time, qint32 snr, float delta_time, quint32 delta_frequency
, QString const& mode, QString const& message, bool low_confidence, quint8 modifiers);
+ // ask the client with identification 'id' to close down gracefully
+ Q_SLOT void close (QString const& id);
+
// ask the client with identification 'id' to replay all decodes
Q_SLOT void replay (QString const& id);
@@ -72,15 +75,25 @@ public:
, QColor const& bg = QColor {}, QColor const& fg = QColor {}
, bool last_only = false);
+ // ask the client with identification 'id' to switch to
+ // configuration 'configuration_name'
+ Q_SLOT void switch_configuration (QString const& id, QString const& configuration_name);
+
+ // ask the client with identification 'id' to change configuration
+ Q_SLOT void configure (QString const& id, QString const& mode, quint32 frequency_tolerance
+ , QString const& submode, bool fast_mode, quint32 tr_period, quint32 rx_df
+ , QString const& dx_call, QString const& dx_grid, bool generate_messages);
+
// 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);
Q_SIGNAL void status_update (QString const& id, Frequency, QString const& mode, QString const& dx_call
, QString const& report, QString const& tx_mode, bool tx_enabled
- , bool transmitting, bool decoding, qint32 rx_df, qint32 tx_df
+ , bool transmitting, bool decoding, quint32 rx_df, quint32 tx_df
, QString const& de_call, QString const& de_grid, QString const& dx_grid
, bool watchdog_timeout, QString const& sub_mode, bool fast_mode
- , quint8 special_op_mode);
+ , quint8 special_op_mode, quint32 frequency_tolerance, quint32 tr_period
+ , QString const& configuration_name);
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