diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /map65/livecq_decode.hpp | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
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 |
