Add text event pruning

- Still need to prune AlertLayer
- Still need to test alerts reload after being pruned
This commit is contained in:
Dan Paulat 2025-05-03 23:20:26 -05:00
parent 4719badc54
commit f37a77a9f7
6 changed files with 158 additions and 8 deletions

View file

@ -4,6 +4,7 @@
#include <scwx/common/geographic.hpp>
#include <memory>
#include <unordered_set>
#include <QAbstractTableModel>
@ -51,6 +52,10 @@ public:
public slots:
void HandleAlert(const types::TextEventKey& alertKey, size_t messageIndex);
void HandleAlertsRemoved(
const std::unordered_set<types::TextEventKey,
types::TextEventHash<types::TextEventKey>>&
alertKeys);
void HandleMapUpdate(double latitude, double longitude);
private: