blob: 1d0f3e037a6e4ee9b88f75df190c283887440ba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef QMAP_DECODE_RECORD_H
#define QMAP_DECODE_RECORD_H
#include <optional>
#include <QByteArray>
#include <QString>
#include "qmap_ipc.h"
struct QMapDecodeRecord
{
QByteArray raw;
QString time;
QString callsign;
QString grid;
QString submode;
double receiveFrequencyKHz {};
double scheduledFrequencyKHz {};
int snr {};
int secondsSinceMidnight {};
bool secondHalf {};
bool cq {};
};
std::optional<QMapDecodeRecord> parseQMapDecodeRecord (QByteArray const& row);
#endif // QMAP_DECODE_RECORD_H
|