highlighting callsigns, annotating callsigns, sort hounds on more criteria

This commit is contained in:
Brian Moran
2024-08-02 16:46:22 -07:00
parent 9a7ae401e7
commit 8e6ca93259
10 changed files with 310 additions and 63 deletions
+16 -1
View File
@@ -392,7 +392,22 @@ void MessageClient::impl::parse_message (QByteArray const& msg)
}
break;
default:
case NetworkMessage::AnnotationInfo: {
QByteArray dx_call;
bool sort_order_provided{false};
quint32 sort_order{std::numeric_limits<quint32>::max()};
in >> dx_call >> sort_order_provided >> sort_order;
TRACE_UDP ("External Callsign Info:" << dx_call << "sort_order_provided:" << sort_order_provided
<< "sort_order:" << sort_order);
if (sort_order > 50000) sort_order = 50000;
if (check_status(in) != Fail) {
Q_EMIT
self_->annotation_info(QString::fromUtf8(dx_call), sort_order_provided, sort_order);
}
}
break;
default:
// Ignore
//
// Note that although server heartbeat messages are not