diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-10-20 22:35:06 +0100 |
| commit | 82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch) | |
| tree | 1a1f782d3e576b758be0bc61171574a7cd8f2376 /map65/livecq_decode.hpp | |
| parent | 061658210acb6425517733ea012dda803a7f72a1 (diff) | |
| parent | 61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff) | |
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'map65/livecq_decode.hpp')
| -rw-r--r-- | map65/livecq_decode.hpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/map65/livecq_decode.hpp b/map65/livecq_decode.hpp new file mode 100644 index 00000000..8ab89eea --- /dev/null +++ b/map65/livecq_decode.hpp @@ -0,0 +1,39 @@ +#ifndef MAP65_LIVECQ_DECODE_HPP +#define MAP65_LIVECQ_DECODE_HPP + +#include <QDateTime> +#include <QList> +#include <QString> +#include <QStringList> +#include <QUrlQuery> + +namespace Map65LiveCQ +{ + struct Spot + { + QString scheduledFrequency; + QString receiveFrequency; + QString polarization {"--"}; + QString deltaTime; + QString snr; + QString messageType; + QString callsign; + QString grid {"--"}; + QString mode; + QString transmitPolarization {"--"}; + QDateTime utcDateTime; + }; + + QList<Spot> parseSpots(QStringList const& decodeLines, + QString const& receiverCallsign, + QString const& receiverLocator, + bool crossPolarization, + QDateTime const& nowUtc, + QStringList& seenDecodes); + + QUrlQuery spotQuery(Spot const& spot, + QString const& receiverCallsign, + QString const& receiverLocator); +} + +#endif |
