mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-10 17:59:04 -04:00
Extend UDP status message - added Rx/Tx DF, call and grid information
Build now creates and installs a UDP library that contains the server side of the UDP messaging facility. This library is used by the udp_daemon and message_aggregator reference examples. The new library is currently a static archive but can also be built as a shared library. The library allows third party Qt applications to easily access UDP messages from WSJT-X. Refactored the message_aggregator reference example to split out classes into separate translation units. Added new functionality to exercise the new UDP status fields, highlight own call, CQ/QRZ messages and decodes near Rx DF. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6691 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include "Radio.hpp"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QDebug>
|
||||
#include <QDataStream>
|
||||
|
||||
namespace Radio
|
||||
{
|
||||
void register_types ()
|
||||
{
|
||||
qRegisterMetaType<Radio::Frequency> ("Frequency");
|
||||
qRegisterMetaType<Radio::FrequencyDelta> ("FrequencyDelta");
|
||||
qRegisterMetaType<Radio::Frequencies> ("Frequencies");
|
||||
|
||||
// This is required to preserve v1.5 "frequencies" setting for
|
||||
// backwards compatibility, without it the setting gets trashed
|
||||
// by later versions.
|
||||
qRegisterMetaTypeStreamOperators<Radio::Frequencies> ("Frequencies");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user