mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 23:58:39 -05:00
3ec6d211c8
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
21 lines
553 B
C++
21 lines
553 B
C++
#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");
|
|
}
|
|
}
|