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

@ -6,6 +6,7 @@
#include <chrono>
#include <memory>
#include <string>
#include <unordered_set>
#include <boost/uuid/uuid.hpp>
#include <QObject>
@ -35,6 +36,10 @@ public:
static std::shared_ptr<TextEventManager> Instance();
signals:
void AlertsRemoved(
const std::unordered_set<types::TextEventKey,
types::TextEventHash<types::TextEventKey>>&
keys);
void AlertUpdated(const types::TextEventKey& key,
std::size_t messageIndex,
boost::uuids::uuid uuid);